v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
18
assets/devel/objects/stackercrate/stackercrate.frames
Normal file
18
assets/devel/objects/stackercrate/stackercrate.frames
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
|
||||
"frameGrid" : {
|
||||
"size" : [24, 16],
|
||||
"dimensions" : [1, 9],
|
||||
"names" : [
|
||||
[ "default" ],
|
||||
[ "red" ],
|
||||
[ "blue" ],
|
||||
[ "green" ],
|
||||
[ "yellow" ],
|
||||
[ "orange" ],
|
||||
[ "pink" ],
|
||||
[ "black" ],
|
||||
[ "white" ]
|
||||
]
|
||||
}
|
||||
}
|
14
assets/devel/objects/stackercrate/stackercrate.lua
Normal file
14
assets/devel/objects/stackercrate/stackercrate.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
function init()
|
||||
|
||||
end
|
||||
|
||||
function update(dt)
|
||||
if not storage.cratePlaced then
|
||||
local pos = entity.position()
|
||||
local placepos = {pos[1], pos[2] + 2}
|
||||
local success = world.placeObject("stackercrate", placepos, 1, {})
|
||||
if success then
|
||||
storage.cratePlaced = true
|
||||
end
|
||||
end
|
||||
end
|
54
assets/devel/objects/stackercrate/stackercrate.object
Normal file
54
assets/devel/objects/stackercrate/stackercrate.object
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"objectName" : "stackercrate",
|
||||
"colonyTags" : [],
|
||||
"printable" : false,
|
||||
"rarity" : "Common",
|
||||
"objectType" : "container",
|
||||
"tooltipKind" : "container",
|
||||
|
||||
"category" : "storage",
|
||||
"price" : 15,
|
||||
"description" : "The ultimate in auto-stacking technology.",
|
||||
"shortdescription" : "Stacker Crate",
|
||||
"race" : "generic",
|
||||
"health" : 1.5,
|
||||
|
||||
"inventoryIcon" : "stackercrateicon.png",
|
||||
"orientations" : [
|
||||
{
|
||||
"image" : "stackercrate.png:default",
|
||||
"direction" : "left",
|
||||
"flipImages" : true,
|
||||
|
||||
"imagePosition" : [-8, 0],
|
||||
"frames" : 1,
|
||||
"animationCycle" : 0.5,
|
||||
|
||||
"spaceScan" : 0.1,
|
||||
"anchors" : [ "bottom" ],
|
||||
"collision" : "platform"
|
||||
},
|
||||
{
|
||||
"image" : "stackercrate.png:default",
|
||||
"direction" : "right",
|
||||
|
||||
"imagePosition" : [-8, 0],
|
||||
"frames" : 1,
|
||||
"animationCycle" : 0.5,
|
||||
|
||||
"spaceScan" : 0.1,
|
||||
"anchors" : [ "bottom" ],
|
||||
"collision" : "platform"
|
||||
}
|
||||
],
|
||||
|
||||
"openSounds" : [ "/sfx/objects/woodenbox_open.ogg" ],
|
||||
"closeSounds" : [ "/sfx/objects/woodenbox_close.ogg" ],
|
||||
"slotCount" : 16,
|
||||
"uiConfig" : "/interface/chests/chest<slots>.config",
|
||||
"frameCooldown" : 5,
|
||||
"autoCloseCooldown" : 3600,
|
||||
|
||||
"scripts" : ["stackercrate.lua"],
|
||||
"scriptDelta" : 5
|
||||
}
|
BIN
assets/devel/objects/stackercrate/stackercrate.png
Normal file
BIN
assets/devel/objects/stackercrate/stackercrate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/devel/objects/stackercrate/stackercrateicon.png
Normal file
BIN
assets/devel/objects/stackercrate/stackercrateicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 261 B |
Loading…
Add table
Add a link
Reference in a new issue