diff --git a/data/saland/items/base_items.json b/data/saland/items/base_items.json index f664684..c12a360 100644 --- a/data/saland/items/base_items.json +++ b/data/saland/items/base_items.json @@ -40,5 +40,25 @@ "health" : 100, "pickup" : false } + ,{ + "itemid" : "tree_cherry", + "sprite" : "tree_cherry", + "sprite2" : "", + "radius" : 20.0, + "isStatic" : true, + "isDestructible" : true, + "health" : 100, + "pickup" : false + } + ,{ + "itemid" : "tree_fir", + "sprite" : "tree_fir", + "sprite2" : "", + "radius" : 20.0, + "isStatic" : true, + "isDestructible" : true, + "health" : 100, + "pickup" : false + } ] } diff --git a/data/saland/spells/base_spells.json b/data/saland/spells/base_spells.json index 5755ec7..10369fc 100644 --- a/data/saland/spells/base_spells.json +++ b/data/saland/spells/base_spells.json @@ -77,6 +77,16 @@ "item_name" : "tree_pine" } ,{ + "icon" : "tree_cherry_icon", + "name" : "spell_spawn_item", + "item_name" : "tree_cherry" + } + ,{ + "icon" : "tree_fir_icon", + "name" : "spell_spawn_item", + "item_name" : "tree_fir" + } + ,{ "icon" : "icon_small_hammer", "name" : "spell_place_prefab", "type" : "tile" diff --git a/data/sprites/items.sprite b/data/sprites/items.sprite index d735e58..2caa9ee 100644 --- a/data/sprites/items.sprite +++ b/data/sprites/items.sprite @@ -94,6 +94,54 @@ "frame_time" : 100, "originx" : 32, "originy" : 80 +}, + +"tree_cherry" : { + "texture" : "plant_repack", + "topx" : 192, + "topy" : 0, + "height" : 128, + "width" : 96, + "number_of_frames" : 1, + "frame_time" : 100, + "originx" : 48, + "originy" : 112 +}, + +"tree_cherry_icon" : { + "texture" : "plant_repack", + "topx" : 224, + "topy" : 32, + "height" : 32, + "width" : 32, + "number_of_frames" : 1, + "frame_time" : 100, + "originx" : 16, + "originy" : 16 +}, + +"tree_fir" : { + "texture" : "plant_repack", + "topx" : 96, + "topy" : 128, + "height" : 160, + "width" : 96, + "number_of_frames" : 1, + "frame_time" : 100, + "originx" : 48, + "originy" : 144 +}, + +"tree_fir_icon" : { + "texture" : "plant_repack", + "topx" : 128, + "topy" : 160, + "height" : 32, + "width" : 32, + "number_of_frames" : 1, + "frame_time" : 100, + "originx" : 16, + "originy" : 16 } }