ceb08755-71c8-4656-b83f-e2003aebc0b91.12016There is a pool of water.water
if (this.emptiedliquidtype = "water") {
msg ("You empty the water into the pool.")
}
else if (this.emptiedliquidtype = "poison") {
msg ("You empty the contaminated water into the pool.")
this.liquidtype = "poison"
}
else if (this.emptiedliquidtype = "oil") {
msg ("You empty the oil into the pool; it floats on top.")
}
else {
msg ("You empty it.")
}
false{if room_with_fire.fireout:The fire is out}{if not room_with_fire.fireout:There is a fire burning}.
if (this.emptiedliquidtype = "water") {
msg ("You empty it over the fire, which sizzles and spits, then dies.")
this.fireout = true
}
else if (this.emptiedliquidtype = "poison") {
msg ("You empty it over the fire, and suddenly you are engulkfed in toxic fumes! When the fumes clear, you see that the fire is out.")
this.fireout = true
}
else if (this.emptiedliquidtype = "oil") {
msg ("You empty it over the fire, which flares up, singing your eyebroews.")
}
else {
msg ("You empty it over the fire, but nothing much happens.")
}
waterYou turn on the tap, Water flows into the sink and down the plug hole.You turn it off.Water is flowing from it.
this.parent.watersource = true
this.parent.watersource = false
poisonoil
if (liquidtype = "poison" or container.liquidtype = "poison") {
msg ("You top it up with poison.")
container.liquidtype = "poison"
}
else if (liquidtype = "water" or container.liquidtype = "water") {
msg ("You top it up with water.")
container.liquidtype = "water"
}
else {
msg ("You empty it, and then fill it with " + liquidtype + ".")
container.liquidtype = liquidtype
}
if (liquidtype = "poison") {
msg ("It is poison! You fall over, dead.")
finish
}
else {
msg ("You take a drink from it.")
}
fill waterskin
empty waterskin
drink from waterskin
south
fill waterskin
drink from waterskin
empty waterskin
empty waterskin
fill waterskin
south
empty waterskin
north
fill waterskin
south
fill waterskin
drink from waterskin
fill waterskin
look at waterskin
north
empty waterskin
look at waterskin
south
east
fill waterskin
north
empty waterskin
west
fill waterskin
east
empty waterskin
west
fill waterskin
drink from waterskin