forked from gaj67/arctic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.tin
98 lines (98 loc) · 3.42 KB
/
common.tin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#alias ef {eat $food}
#alias dw {drink $drink}
#alias fa {drink %1;drink %1;fill all %1}
#alias gac {get all corpse}
#alias gcc {get all.coins corpse}
#alias ga {get all}
#alias gc {get coins}
#alias {coins} {get all.coins $belt;put 200 coins $belt;dep all}
#alias gcb {get all.coins $belt}
#alias rr {get glowing.scroll $belt;recite recall}
#alias {bm} {r;ban me}
#alias {wep} {rem $light;wield $wep2 left}
#alias {light} {rem $wep2;hold $light}
#alias lgac {light;gac;wep}
#alias lgcc {light;gcc;wep}
#alias lga {light;ga;wep}
#alias lib {look in $belt}
#alias lip {look in $pouch}
#alias lip2 {look in 2.pouch}
#alias lip3 {look in 3.pouch}
#alias lic {l in corpse}
#alias uo {unlock %1 %2;open %1 %2}
#alias uog {uo %1 %2;ga %1 %2}
#alias agcc {#act {The death cry} {gcc}}
#alias ngcc {#act {The deaty cry} {grin}}
#alias lif {look in flask}
#alias wwep {get %1 $belt;wield %1;#var wep1 %1}
#alias rwep {rem %1;put %1 $belt}
#alias gwb {get %1 $belt;wield %1;#var wep1 %1}
#alias pwb {rem %1;put %1 $belt}
#alias gwp {get %1 $pouch;wield %1;#var wep1 %1}
#alias pwp {rem %1;put %1 $pouch}
#act {A pile of steel coins} {gc}
#act {You wince as you} {ban me}
#act {You are hungry} {eat $food}
#act {You can't seem to find it} {get $food $pouch}
#act {You are thirsty} {drink $drink}
#act {You can't find it!} {get $drink $pouch}
#act {probably stand up} {stand}
#act {You are sent sprawling} {stand}
#act {You apply bandages to your wounds} {sav;st}
#act {Come on! I'm relaxing!} {st}
#act {You can't do that while sitting.} {st}
#act {The %1 seems to be closed.} {#var lock %1;open %1}
#act {disarms your weapon} {get $wep1;wield $wep1;get $wep2;wield $wep2 left}
#var food food
#var drink water
#var belt belt
#var pouch large.pouch
#var light lantern
#act {comes to your rescue} {assist}
#alias {foll %1} {#var leader %1;follow $leader}
#act {%1 starts following you} {gro %1}
#act {$leader sits down} {r}
#act {$leader rests} {r}
#act {$leader stands} {st}
#act {$leader divides} {coins}
#act {C Exits:} {#var fight 0}
#act {] Exits:} {#var fight 1}
#alias helpfight {ass}
#var dofight {#if {$fight<1} {#var fight 1;helpfight}}
#act {$leader stabs} {$dofight}
#act {$leader pierces} {$dofight}
#act {$leader slashes} {$dofight}
#act {$leader misses} {$dofight}
#act {$leader hits} {$dofight}
#act {$leader massacres} {$dofight}
#act {$leader orders you to '%1'} {say ok;%1}
#act {$leader now rides} {mount}
#act {You sit down} {#var sitting 1}
#act {You rest your tired bones} {#var sitting 1}
#act {You stand up} {#var sitting 0}
#var was_sitting 0
#alias first_st {#if {$sitting>0} {stand;#var was_sitting 1}}
#alias then_r {#if {$was_sitting>0} {rest;#var was_sitting 0}}
#var was_standing 0
#alias first_r {#if {$sitting<1} {rest;#var was_standing 1}}
#alias then_st {#if {$was_standing>0} {stand;#var was_standing 0}}
#act {%% %1C} {#var coins %1}
#alias pcb {put $coins coins $belt}
#act {You start using the %1.} {#var wep1 %1}
#act {You start using the %1 as a secondary weapon.} {#var wep2 %1}
#act {You unfurl the whip} {#var wep1 whip}
#act {The death cry of} {gcc}
#act {You are sent sprawling} {st}
#alias ww {gwp whip;cpoff}
#alias rw {pwp whip}
#alias wh {gwp hammer;cpoff}
#alias rh {pwp hammer}
#alias wsp {gwp spear;cpoff}
#alias rsp {pwp spear}
#alias wst {gwp staff;cpoff}
#alias rst {pwp staff}
#alias ws {gwp sword;cpoff}
#alias rs {pwp sword}
#alias wd {gwb dagger;cpon}
#alias rd {pwb dagger}
#act {You can't use a two-handed weapon} {rem $wep2; put $wep2 belt;wield $wep1}