diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/DefCore.txt b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/DefCore.txt index cbaa9ac7b..4c930a0ca 100644 --- a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/DefCore.txt +++ b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/DefCore.txt @@ -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 diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics.8.png b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics.8.png deleted file mode 100644 index 95a42cb0a..000000000 Binary files a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics.8.png and /dev/null differ diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics1.8.png b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics1.8.png deleted file mode 100644 index c5cf9df16..000000000 Binary files a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics1.8.png and /dev/null differ diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics2.8.png b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics2.8.png deleted file mode 100644 index 25d5e5d28..000000000 Binary files a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics2.8.png and /dev/null differ diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics3.8.png b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics3.8.png deleted file mode 100644 index 121ac841c..000000000 Binary files a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics3.8.png and /dev/null differ diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics4.8.png b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics4.8.png deleted file mode 100644 index 7e9875569..000000000 Binary files a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Graphics4.8.png and /dev/null differ diff --git a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Script.c b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Script.c index 743c6205f..c68ba9b39 100644 --- a/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Script.c +++ b/planet/Objects.ocd/Items.ocd/Resources.ocd/Nugget.ocd/Script.c @@ -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$"; \ No newline at end of file +local Description = "$Description$"; +local Touchable = 2; \ No newline at end of file