git repos / saland

commit 97c2b9fe

Poul Sander · 2026-08-07 14:33
97c2b9fe7f374ad2b3f92c243382e5339c553af8 patch · browse files
parent e77fcf28dff06042a8b5fdd348d49f674cf6edbc

Add icon for the prefab spell

Changed files

M data/saland/spells/base_spells.json before
M data/sprites/kenny.sprite before
M data/textures/AUTH before
A data/textures/tools/smallhammer.png
diff --git a/data/saland/spells/base_spells.json b/data/saland/spells/base_spells.json index 75e63f9..231c136 100644 --- a/data/saland/spells/base_spells.json +++ b/data/saland/spells/base_spells.json
@@ -77,6 +77,7 @@
"item_name" : "tree_pine"
}
,{
+ "icon" : "icon_small_hammer",
"name" : "spell_place_prefab",
"type" : "tile"
}
diff --git a/data/sprites/kenny.sprite b/data/sprites/kenny.sprite index da1580f..aeed0f7 100644 --- a/data/sprites/kenny.sprite +++ b/data/sprites/kenny.sprite
@@ -8,5 +8,15 @@
"number_of_frames" : 1,
"originx" : 25,
"originy" : 25
+ },
+ "icon_small_hammer" : {
+ "texture" : "tools/smallhammer",
+ "topx" : 0,
+ "topy" : 0,
+ "height" : 16,
+ "width" : 16,
+ "number_of_frames" : 1,
+ "originx" : 8,
+ "originy" : 8
}
}
diff --git a/data/textures/AUTH b/data/textures/AUTH index 500ae09..e87cf77 100644 --- a/data/textures/AUTH +++ b/data/textures/AUTH
@@ -10,3 +10,4 @@ menu_unmarked.png Derived from UI pack by Kenney Vleugels (www.kenney.nl)
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)
diff --git a/data/textures/tools/smallhammer.png b/data/textures/tools/smallhammer.png new file mode 100644 index 0000000..4917f16
Binary files /dev/null and b/data/textures/tools/smallhammer.png differ