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);
|
Explode(18);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public func IsAlchemyProduct() { return true; }
|
||||||
|
|
||||||
local ActMap = {
|
local ActMap = {
|
||||||
Fuse = {
|
Fuse = {
|
||||||
Prototype = Action,
|
Prototype = Action,
|
||||||
|
|
|
@ -73,6 +73,9 @@ public func ResetClonk(clonk)
|
||||||
RemoveObject();
|
RemoveObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public func IsTool() { return true; }
|
||||||
|
public func IsAlchemyProduct() { return false; }
|
||||||
|
|
||||||
func Definition(def) {
|
func Definition(def) {
|
||||||
SetProperty("PictureTransformation",Trans_Scale(), def); // Hide it TODO: Remove if the mesh isn't shown if there is a picture set
|
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 IsTool() { return true; }
|
||||||
public func IsToolProduct() { return true; }
|
public func IsAlchemyProduct() { return true; }
|
||||||
|
|
||||||
func Definition(def) {
|
func Definition(def) {
|
||||||
SetProperty("PictureTransformation",Trans_Scale(), def); // Hide it TODO: Remove if the mesh isn't shown if there is a picture set
|
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