Unread postby theorclair » 28 Dec 2016, 17:24
If you wanted to re-write this to take away the reputation loss, how would it look?
event 114 -- "Bones"
0: Set {"AutonotesBits", Value = 99}
1: Player = 0
2: Cmp {"Inventory", Value = 465, jump = 4}
3: GoTo {jump = 9}
4: Subtract {"Inventory", Value = 465}
5: Add {"Gold", Value = 1000}
6: Subtract {"ReputationIs", Value = 50}
7: SetMessage {Str = 193} -- "Hmm... A leg bone of a human? This will do nicely. This bone is certainly worth 1000 gold. "
8: Exit {}
9: Player = 1
10: Cmp {"Inventory", Value = 465, jump = 12}
11: GoTo {jump = 17}
12: Subtract {"Inventory", Value = 465}
13: Add {"Gold", Value = 1000}
14: Subtract {"ReputationIs", Value = 50}
15: SetMessage {Str = 193} -- "Hmm... A leg bone of a human? This will do nicely. This bone is certainly worth 1000 gold. "
16: Exit {}
17: Player = 2
18: Cmp {"Inventory", Value = 465, jump = 20}
19: GoTo {jump = 25}
20: Subtract {"Inventory", Value = 465}
21: Add {"Gold", Value = 1000}
22: Subtract {"ReputationIs", Value = 50}
23: SetMessage {Str = 193} -- "Hmm... A leg bone of a human? This will do nicely. This bone is certainly worth 1000 gold. "
24: Exit {}
25: Player = 3
26: Cmp {"Inventory", Value = 465, jump = 28}
27: GoTo {jump = 33}
28: Subtract {"Inventory", Value = 465}
29: Add {"Gold", Value = 1000}
30: Subtract {"ReputationIs", Value = 50}
31: SetMessage {Str = 193} -- "Hmm... A leg bone of a human? This will do nicely. This bone is certainly worth 1000 gold. "
32: Exit {}
33: SetMessage {Str = 192} -- "I'm looking for bones to use in my rituals. I prefer bones from humans or humanoids, but I suppose I can make do with whatever you find. I'm willing to pay up to 1000 gold for bones that I can use."
34: Exit {}
end