Dynamite and dynamite box are IsAlchemyProduct() (and the igniter is not!)

Charles Spurrill 2011-10-15 02:25:44 -07:00
parent 7139d6b4ad
commit dab09d89d6
3 changed files with 6 additions and 1 deletions

View File

@ -151,6 +151,8 @@ public func DoExplode()
Explode(18);
}
public func IsAlchemyProduct() { return true; }
local ActMap = {
Fuse = {
Prototype = Action,

View File

@ -73,6 +73,9 @@ public func ResetClonk(clonk)
RemoveObject();
}
public func IsTool() { return true; }
public func IsAlchemyProduct() { return false; }
func Definition(def) {
SetProperty("PictureTransformation",Trans_Scale(), def); // Hide it TODO: Remove if the mesh isn't shown if there is a picture set
}

View File

@ -155,7 +155,7 @@ func FxIntLengthStop(pTarget, effect, iReason, fTmp)
}
public func IsTool() { return true; }
public func IsToolProduct() { return true; }
public func IsAlchemyProduct() { return true; }
func Definition(def) {
SetProperty("PictureTransformation",Trans_Scale(), def); // Hide it TODO: Remove if the mesh isn't shown if there is a picture set