diff --git a/data/saland/items/base_items.json b/data/saland/items/base_items.json index c12a360..d168881 100644 --- a/data/saland/items/base_items.json +++ b/data/saland/items/base_items.json @@ -60,5 +60,15 @@ "health" : 100, "pickup" : false } + ,{ + "itemid" : "campfire", + "sprite" : "campfire", + "sprite2" : "", + "radius" : 16.0, + "isStatic" : true, + "isDestructible" : true, + "health" : 20, + "pickup" : false + } ] } diff --git a/data/saland/spells/base_spells.json b/data/saland/spells/base_spells.json index 10369fc..c33a015 100644 --- a/data/saland/spells/base_spells.json +++ b/data/saland/spells/base_spells.json @@ -87,6 +87,11 @@ "item_name" : "tree_fir" } ,{ + "icon" : "campfire_icon", + "name" : "spell_spawn_item", + "item_name" : "campfire" + } + ,{ "icon" : "icon_small_hammer", "name" : "spell_place_prefab", "type" : "tile" diff --git a/data/sprites/items.sprite b/data/sprites/items.sprite index 2caa9ee..53b4f5b 100644 --- a/data/sprites/items.sprite +++ b/data/sprites/items.sprite @@ -142,6 +142,30 @@ "frame_time" : 100, "originx" : 16, "originy" : 16 +}, + +"campfire" : { + "texture" : "CampFireFinished", + "topx" : 0, + "topy" : 0, + "height" : 64, + "width" : 64, + "number_of_frames" : 5, + "frame_time" : 100, + "originx" : 32, + "originy" : 54 +}, + +"campfire_icon" : { + "texture" : "CampFireFinished", + "topx" : 16, + "topy" : 16, + "height" : 32, + "width" : 32, + "number_of_frames" : 1, + "frame_time" : 100, + "originx" : 16, + "originy" : 16 } } diff --git a/data/textures/AUTH b/data/textures/AUTH index e87cf77..ef72da7 100644 --- a/data/textures/AUTH +++ b/data/textures/AUTH @@ -11,3 +11,4 @@ kenny/* Kenney Vleugels (www.kenney.nl) (CC0 license) tiles_dungeon.ong Enyph Games (https://opengameart.org/content/dungeon-tileset-32x32) (CC0 lincense) weapons/long_knife.png Original dagger by wulax (Johannes Sjölund) (https://opengameart.org/content/lpc-long-dagger) (CC-BY-SA 3.0, GPL 2.0, GPL 3.0) tools/smallhammer.png laxattack1226 (https://opengameart.org/content/heavy-iron-hammer) (CC0 license) +CampFireFinished.png Zabin and Jetrel (https://opengameart.org/content/camp-fire-animation-for-rpgs-finished) (CC-BY-SA 3.0) diff --git a/data/textures/CampFireFinished.png b/data/textures/CampFireFinished.png new file mode 100644 index 0000000..3c6d6c8 Binary files /dev/null and b/data/textures/CampFireFinished.png differ