mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-04-29 16:25:49 +00:00
re-export new GameData folder from fresh QoL install, updated DynamixThreeSpaceBlenderAddon
This commit is contained in:
parent
7d10fb7dee
commit
27663875ea
7280 changed files with 105217 additions and 119370 deletions
|
|
@ -0,0 +1,22 @@
|
|||
// For Small Crossing Inventorys
|
||||
// SimpleFlagArena also uses this
|
||||
// Grants Invinciblity
|
||||
|
||||
package InvincibleInv
|
||||
{
|
||||
|
||||
function StaticShapeData::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType)
|
||||
{
|
||||
%targetname = %targetObject.getDataBlock().getName();
|
||||
//Used on some maps to make invs invincible
|
||||
if( %targetObject.invincible && %targetname $= "StationInventory" )
|
||||
return;
|
||||
|
||||
parent::damageObject(%data, %targetObject, %sourceObject, %position, %amount, %damageType);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
//Prevent package from being activated if it is already
|
||||
if (!isActivePackage(InvincibleInv))
|
||||
activatePackage(InvincibleInv);
|
||||
Loading…
Add table
Add a link
Reference in a new issue