forked from Mirrors/openclonk
Dynamite and dynamite box are IsAlchemyProduct() (and the igniter is not!)
parent
7139d6b4ad
commit
dab09d89d6
|
@ -151,6 +151,8 @@ public func DoExplode()
|
|||
Explode(18);
|
||||
}
|
||||
|
||||
public func IsAlchemyProduct() { return true; }
|
||||
|
||||
local ActMap = {
|
||||
Fuse = {
|
||||
Prototype = Action,
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue