diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-22 10:56:06 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-22 10:56:06 -0200 |
commit | 0c007ac93320561a3674f5878e5af3fe2e8b0e02 (patch) | |
tree | 973e0acc1abd248981d7a8acc743c3f6e3188f98 | |
parent | 228076b543e0cd078ab83bdb28a973a2b536bedf (diff) | |
download | clientdata-0c007ac93320561a3674f5878e5af3fe2e8b0e02.tar.gz clientdata-0c007ac93320561a3674f5878e5af3fe2e8b0e02.tar.bz2 clientdata-0c007ac93320561a3674f5878e5af3fe2e8b0e02.tar.xz clientdata-0c007ac93320561a3674f5878e5af3fe2e8b0e02.zip |
Add a switch because Saulc doesn't wants to do that >.>
-rw-r--r-- | LICENSE | 5 | ||||
-rw-r--r-- | graphics/sprites/npcs/sprite/switch.png | bin | 0 -> 1273 bytes | |||
-rw-r--r-- | graphics/sprites/npcs/xml/switch-offline.xml | 10 | ||||
-rw-r--r-- | graphics/sprites/npcs/xml/switch-online.xml | 13 | ||||
-rw-r--r-- | npcs.xml | 6 |
5 files changed, 32 insertions, 2 deletions
@@ -1539,6 +1539,7 @@ https://gitlab.com/TMW2/Docs/wikis/Contributors graphics/sprites/npcs/sprite/sleepingorc.png (Reid) (CC BY-SA 3.0) (Crush) graphics/sprites/npcs/sprite/soulmenhirs_x2.png (Alige, Lien) (GPLv2) (-) graphics/sprites/npcs/sprite/statues.png (jesusalva, ?) (GPLv2) (LoF, TMW-Br, TMW2) + graphics/sprites/npcs/sprite/switch.png (Miloslav Číž) (CC0) (OpenGameArt) graphics/sprites/npcs/sprite/tarlan.png (Reid) (CC BY-SA 3.0) (Modanung) graphics/sprites/npcs/sprite/terry.png (Reid) (CC BY-SA 3.0) (Salva) graphics/sprites/npcs/sprite/trap.png (TMW-Br, jesusalva) (GPLv2) (-) @@ -1693,7 +1694,7 @@ https://gitlab.com/TMW2/Docs/wikis/Contributors graphics/tilesets/inn_x3.png (Irukard, Salmondine) (CC BY-SA 3.0) (-) graphics/tilesets/inn_x4.png (Salmondine) (GPLv2) (-) graphics/tilesets/level-number.png (Reid) (CC BY-SA 3.0) (-) - graphics/tilesets/magecity.png (Hyptosis) (CC 0) (lorestrome.com/gameart.htm) + graphics/tilesets/magecity.png (Hyptosis) (CC0) (lorestrome.com/gameart.htm) graphics/tilesets/mountain.png (Saulc) (CC BY-SA 3.0) (-) graphics/tilesets/mushrooms.png (Dave, Len) (GPLv2) (-) graphics/tilesets/pots_x2.png (?) (?) (TMW.org) @@ -1723,7 +1724,7 @@ https://gitlab.com/TMW2/Docs/wikis/Contributors graphics/tilesets/spinning_wheel.png (ChefChelios) (GPLv2) (-) graphics/tilesets/staircase.png (?) (GPLv2) (TMW-Br) graphics/tilesets/stone_lab.png (Fate, Varuna, Enchilado) (GPLv2) (wushin) - graphics/tilesets/stoneground.png (Jetrel) (CC 0) (opengameart.org) + graphics/tilesets/stoneground.png (Jetrel) (CC0) (opengameart.org) graphics/tilesets/sunlight-x1x5.png (Len) (CC BY-SA 3.0) (Reid) graphics/tilesets/trans_woodland_desert.png (?) (?) (TMW.org) graphics/tilesets/Throne_x2.png (?) (GPL 2.0) (TMW-BR) diff --git a/graphics/sprites/npcs/sprite/switch.png b/graphics/sprites/npcs/sprite/switch.png Binary files differnew file mode 100644 index 00000000..49d7d8bc --- /dev/null +++ b/graphics/sprites/npcs/sprite/switch.png diff --git a/graphics/sprites/npcs/xml/switch-offline.xml b/graphics/sprites/npcs/xml/switch-offline.xml new file mode 100644 index 00000000..bde8d6b6 --- /dev/null +++ b/graphics/sprites/npcs/xml/switch-offline.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/npcs/sprite/switch.png" width="32" height="32" /> + <action name="stand" imageset="base"> + <animation direction="default"> + <frame index="0"/> + <end/> + </animation> + </action> +</sprite> diff --git a/graphics/sprites/npcs/xml/switch-online.xml b/graphics/sprites/npcs/xml/switch-online.xml new file mode 100644 index 00000000..5dee5055 --- /dev/null +++ b/graphics/sprites/npcs/xml/switch-online.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<sprite> + <imageset name="base" src="graphics/sprites/npcs/sprite/switch.png" width="32" height="32" /> + <action name="stand" imageset="base"> + <animation direction="default"> + <frame index="1" delay="75"/> + <frame index="2" delay="75"/> + <frame index="3" delay="75"/> + <frame index="4"/> + <end/> + </animation> + </action> +</sprite> @@ -1103,6 +1103,12 @@ IDs 900-999 = Special <menu name="Talk" command="talk 'NAME'"/> <menu name="Trade" command="buy 'NAME'"/> </npc> + <npc id="914"> <!-- switch (left - offline) --> + <sprite>npcs/xml/switch-offline.xml</sprite> + </npc> + <npc id="915"> <!-- switch (right - online) --> + <sprite>npcs/xml/switch-online.xml</sprite> + </npc> <npc id="998" nameOffsetX="16" targetOffsetX="16"> <!-- No sprite with a name half-offseted to the right. --> <menu name="Talk" command="talk 'NAME'"/> |