Hi guys,
So I’ve finally got (nearly) everything working the way I want it to run. Only problem, now that I’m using the heat of the liquid of the noun I can measure and use the temperature of my liquid (win!). Which means my game works the way I want. Only problem now is I can’t set the temperature of containers. I have reversed the code you told me before:
To decide what heat is the heat of (C - a container):
decide on the heat of the liquid of C.
Why? cries
Here is my full heat code:
[code]Part 2 - Heat
Heat is a kind of value. The heats are cold, cool, warm, hot, and boiling. Everything has a heat. The heat of a thing is usually cool. The heat of the brazier is hot.
A liquid has a heat.
Every turn when the turn count is odd:
if the teapot is on the brazier:
now the heat of the liquid of the teapot is the heat after the heat of the liquid of the teapot.
To decide what heat is the heat of (C - a container):
decide on the heat of the liquid of C.
[Rule for printing the name of the water:
say “some [the heat of the noun] water”.]
Every turn:
if the heat of the liquid of the teapot is boiling:
say “Steam rises from the teapot and the water bubbles.”;
Instead of touching something when the heat of the noun is boiling:
say “You would burn yourself.”
Instead of touching something when the heat of the noun is hot:
say “You would burn yourself.”
Instead of touching the teapot, say “It feels rough and [the heat of the noun] under your fingers.”
Instead of inserting something into the cup:
if the noun is not the green powder, say “The cup is for making tea.”
Instead of pouring something into the cup:
if the heat of the liquid of the noun is not boiling:
say “The water needs to be much hotter to make tea.”;
otherwise:
continue the action.
Instead of touching the cup:
if the noun is empty:
say “You run your fingers over the surface, feeling each crack.”;
otherwise:
say “warm beneath your fingers.”.[/code]