Fix another money bug
Also, let's commit the batchcommands files.
This commit is contained in:
parent
d1542ba846
commit
877da1cb7d
3 changed files with 887 additions and 160 deletions
|
|
@ -164,11 +164,11 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
|
|||
|
||||
def how_many_coins(self):
|
||||
"Return the amount of money in the coin purse."
|
||||
self.get_pouch().how_much()
|
||||
return self.get_pouch().how_much()
|
||||
|
||||
def adjust_coins(self, amount):
|
||||
"Increase or decrease the amount of money in the coin purse."
|
||||
self.get_pouch().adjust_amount(amount)
|
||||
return self.get_pouch().adjust_amount(amount)
|
||||
|
||||
def has_coins(self, at_least=1):
|
||||
"Return True if character has 'at_least' that many coins."
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
# The Mist Horn
|
||||
|
||||
# [[file:../../../projects/mud-adventure.org::*The Mist Horn][The Mist Horn:1]]
|
||||
@create Mist Horn:typeclasses.sailing.CallingHorn
|
||||
# The Mist Horn:1 ends here
|
||||
|
|
@ -74,7 +76,7 @@
|
|||
py me.search('mp06ctl').cleanup()
|
||||
# The Mist Horn:8 ends here
|
||||
|
||||
|
||||
# The Boat
|
||||
# When the boat is docked, we should have a special /state/ to describe it:
|
||||
|
||||
|
||||
|
|
@ -202,7 +204,7 @@ desc dock = A lazy dock with a comfortable-looking chair and a forest of colossa
|
|||
@teleport/tonone boat
|
||||
# The Boat:14 ends here
|
||||
|
||||
|
||||
# Throne Island
|
||||
# The boat should land on a distant island.
|
||||
|
||||
# We should come up with a *theme* for the entire island, from the “statue” to the puzzles and answers.
|
||||
|
|
@ -290,7 +292,7 @@ $state(boat, A large leaf bobs invitingly in the surf.)
|
|||
@roomstate shore
|
||||
# Throne Island:10 ends here
|
||||
|
||||
|
||||
# First Puzzle
|
||||
# Details on the throne and the statues and maybe moss? What about sitting on the throne?
|
||||
|
||||
|
||||
|
|
@ -358,7 +360,7 @@ $state(boat, A large leaf bobs invitingly in the surf.)
|
|||
# First Puzzle:7 ends here
|
||||
|
||||
|
||||
|
||||
# @teleport arched opening = here
|
||||
# And we need to get rid of it when any one leaves:
|
||||
|
||||
|
||||
|
|
@ -399,7 +401,7 @@ $state(boat, A large leaf bobs invitingly in the surf.)
|
|||
@lock arched opening = view:tag(hidden_archway)
|
||||
# First Puzzle:12 ends here
|
||||
|
||||
|
||||
# Puzzle Two
|
||||
# Let’s make this a dark room where one has to have two feel around for a splinter to light, or bring a torch.
|
||||
|
||||
|
||||
|
|
@ -448,7 +450,7 @@ A overly ornate |Ydoor|n with letters in rows and columns in a grid matrix indic
|
|||
@detail dome = Perhaps 30 feet high, but as shadows from the flame dance above you, you find it difficult to tell.
|
||||
# Puzzle Two:5 ends here
|
||||
|
||||
|
||||
# Puzzle Three
|
||||
# Each time this is “seen”, the response is different, so we use a [[file:~/src/moss-n-puddles/typeclasses/puzzles.py::class Changling(Object):][Changling]]:
|
||||
|
||||
|
||||
|
|
@ -531,7 +533,7 @@ A overly ornate |Ydoor|n with letters in rows and columns in a grid matrix indic
|
|||
py me.search('obelisk').cleanup()
|
||||
# Puzzle Three:9 ends here
|
||||
|
||||
|
||||
# Puzzle Four
|
||||
# We need another door in order to escape.
|
||||
|
||||
|
||||
|
|
|
|||
1027
world/version1.ev
1027
world/version1.ev
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue