1 | function scr_item_stats_armor |
2 | { |
3 | switch argument0 |
4 | { |
5 | case "Worn Hat": |
6 | if (global.option_easymode == true) |
7 | return 3; |
8 | else |
9 | return 0; |
10 | case "Nice Hat": |
11 | if (global.option_easymode == true) |
12 | return 5; |
13 | else |
14 | return 0; |
15 | default: |
16 | return 0; |
17 | } |
18 | |
19 | } |