forked from Mirrors/openclonk
Nuggets are now carry heavy, new branch
parent
e1da36219f
commit
26d8ac2b00
|
@ -2,12 +2,12 @@
|
|||
id=Nugget
|
||||
Version=4,10,0,0
|
||||
Category=C4D_Object
|
||||
Width=8
|
||||
Height=8
|
||||
Offset=-4,-4
|
||||
Width=12
|
||||
Height=12
|
||||
Offset=-6,-6
|
||||
Vertices=3
|
||||
VertexX=0,2,-2
|
||||
VertexY=1,-1,-1
|
||||
VertexX=0,4,-4
|
||||
VertexY=3,-3,-3
|
||||
VertexFriction=40,40,40
|
||||
Value=5
|
||||
Mass=12
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 6.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 7.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB |
|
@ -1,11 +1,9 @@
|
|||
/*--- Nugget ---*/
|
||||
|
||||
protected func Construction()
|
||||
{
|
||||
var graphic = Random(5);
|
||||
if(graphic)
|
||||
SetGraphics(Format("%d",graphic));
|
||||
}
|
||||
#include Library_CarryHeavy
|
||||
|
||||
public func GetCarryMode(clonk) { return CARRY_BothHands; }
|
||||
public func GetCarryPhase() { return 800; }
|
||||
|
||||
protected func Hit(x, y)
|
||||
{
|
||||
|
@ -16,7 +14,9 @@ protected func Hit(x, y)
|
|||
public func IsFoundryIngredient() { return true; }
|
||||
public func IsValuable(){ return true; }
|
||||
|
||||
|
||||
local Collectible = 1;
|
||||
func Definition(def) {
|
||||
SetProperty("PictureTransformation", Trans_Mul(Trans_Rotate(30,0,0,1),Trans_Rotate(-30,1,0,0),Trans_Scale(1300)),def);
|
||||
}
|
||||
local Name = "$Name$";
|
||||
local Description = "$Description$";
|
||||
local Description = "$Description$";
|
||||
local Touchable = 2;
|
Loading…
Reference in New Issue