New feature: Minigames are interactive actions that happen in a dedicated screen. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=347722&#msg_347722

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2350 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2016-12-11 12:37:27 +00:00
parent a98c0f5227
commit f92c98a603
7 changed files with 44 additions and 2 deletions
@@ -26,6 +26,7 @@
2: read a file from a file cabinet
3: take water from a water tap
4: buy soda from a soda machine
5: play a minigame
difficulty how hard it is to perform action
luaactionid if this is set, lua script HandleInteractiveActionResult() in Overhead.lua is called
with this Id to perform special actions. If no ID is set, the standard action is called.
@@ -994,4 +995,15 @@
</ACTION>
<!-- |||||||||||||||||||| SODA MACHINE |||||||||||||||||||| -->
<!-- |||||||||||||||||||| MINIGAME |||||||||||||||||||| -->
<!-- game machine -->
<ACTION>
<szTileSetName>lawless3.sti</szTileSetName>
<usTileIndex>8</usTileIndex>
<usTileIndex>7</usTileIndex>
<sActionType>5</sActionType>
<luaactionid>50</luaactionid>
</ACTION>
<!-- |||||||||||||||||||| MINIGAME |||||||||||||||||||| -->
</INTERACTIVEACTIONS>