1 | function scr_itemget_anytype |
2 | { |
3 | noroom = 0; |
4 | if (arg1 == "item") |
5 | scr_itemget |
6 | if (arg1 == "weapon") |
7 | scr_weaponget |
8 | if (arg1 == "armor") |
9 | scr_armorget |
10 | if (arg1 == "key") |
11 | scr_keyitemget |
12 | if (arg1 == "money") |
13 | global.gold += arg0; |
14 | } |