Stoves! Who doesn't like a stove?

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

User avatar
Ice Cream Jonsey
Posts: 30184
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Stoves! Who doesn't like a stove?

Post by Ice Cream Jonsey »

This is a public reminder to myself to post the "stove" object that I am going to create in a bit here using the supercontainer class. Public embarassment (i.e., if I do not post it within a reasonable time frame, say, four hours from now) is a keen way to motivate oneself, and it's the tactic I will employ to get this object created for fun and for all.

In the real world, I have also left my own stove on all frigging night for two of the last five nights. Boy, this "adult" thing sure is difficult, sometimes!
the dark and gritty...Ice Cream Jonsey!

Lex
Posts: 976
Joined: Sat Apr 27, 2002 4:03 pm
Location: Scotland, Bonnie
Contact:

Post by Lex »

Tell me about it; did you know that when you leave your parents you actually have to pay for your phone bill? Unfuckingbelieveable.
WHOOA!

User avatar
Ice Cream Jonsey
Posts: 30184
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Our first version of the stove is rather non-descript and simple. As it's for Ben's work-in-progress "Burning Down The House," it's really extremely important for the stove to insult the player in some real or imagined way.

Remembering all the "free" code we get in using the supercontainer class, here's our first take on the stove:

Code: Select all

object stove "stove"
{
	inherits scenery
	in Kitchen
	noun "stove"
	article "the"
	is openable, open

 long_desc
	{
		"I hate you and everything you stand for. Please place your head in your stove in real life as soon as you can. Thanks!"
	}
}

Hmm! Not too much there, right? Right, but keep in mind that you can place things in, and place things on this stove.

Next, we'll make it so that the stove can be turned on and try to make it so that GAS is sent from the stove (and to the room at large, if the stove is left open!!)
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30184
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Lex wrote:Tell me about it; did you know that when you leave your parents you actually have to pay for your phone bill? Unfuckingbelieveable.
Colorado utilities:

Basic cable (no premium channels) $40.50
Phone bill (flat land line) $46
Cable Modem: $54
Electricity (on average, monthly) $40


I would enjoy it if the owners of those monopolies had their eyeballs removed by boiler trolls badly wielding sporks at any time now.

(Actually, they aren't technically monopolies. I plan on signing up for a "Cricket" cellphone. I would already except, Christ, it's at least $80 to get a fucking cellphone and they should be free. Also, I plan on switching to Satellite TV instead of cable, except that their website is laughably put together and when I have attempted to place my order to get the equipment, it has always -- always -- failed. )
the dark and gritty...Ice Cream Jonsey!

Lex
Posts: 976
Joined: Sat Apr 27, 2002 4:03 pm
Location: Scotland, Bonnie
Contact:

Post by Lex »

It has been three months since I last touched Hugo code. I have no idea how to go about sending gas into the room. In the code sense, that is; I'd assume you want to just set something "special" when the stove is on to make gas be described in the room. And create "smell", "taste" and "light match and run like the fuck" verbs.
WHOOA!

Worm
Posts: 3626
Joined: Sat Aug 24, 2002 12:53 am
Location: tucked away between the folds of your momma, safe

Post by Worm »

I don't know dirt about code. Why don't you just make the gas go into other rooms based on time delay then the protaginist would close all doors and windows and could light a candle say five rooms away then get out closing the door behind him which would in turn blow up the house right? Lighting a match near the stove would blow you up but creating a very fucking primitive timer device would work. You could also determine the speed which the house fills with gas by the number of burners he puts on. That is why they never shoot in a house were the hostage has the stove on.
Good point Bobby!

Worm
Posts: 3626
Joined: Sat Aug 24, 2002 12:53 am
Location: tucked away between the folds of your momma, safe

Post by Worm »

This is super swank idea ... someone reply.
Good point Bobby!

Ben

Post by Ben »

That is not how the plot of the game was intended to go, and I am fairly inflexible on how I'd like the plot to go.

Which reminds me, how's it coming along, Jones?

Post Reply