|Author||Topic: Special Items|
Member # 8014
written Tuesday, January 8 2008 17:59
The instructions are kind of wonky, and I can't seem to find a section about special items.
So how can I make them?
(Search engine is kind of wonky too)
Edit -and the appendix makes little sense sometimes. I can't find a call that gives a special item when you step on a certain spot.
[ Tuesday, January 08, 2008 18:02: Message edited by: Iffy ]
Don't judge a sentence until you know all the words.
Muffins n' Hell|Muffins n' Hell: The Muffins Are Back Again
Muffins n' Hell: The End is Near
Not in your shed -We are sort of done. Helpful criticism is welcome.
Everyone, just call me Iffy. Please.
Be grateful you have your unsellabe trowels -Goldenking
Just so you know, I am working on Muffins n' Hell the scenario.
Posts: 1799 | Registered: Sunday, February 4 2007 08:00
Member # 5576
written Tuesday, January 8 2008 19:08
The docs don't cover that sort of topic, for whatever reason, it's the appedicies you want. in particular, look in the section "Item, Special Item, and Gold" calls, which basically tells about all the things you can do with items, special items, and gold. Also, take a look in "Scenario Initialization calls", which isn't quite as clearly named. The calls you want are init_special_item and change_spec_item. The first needs to be used in your scenario script's START_SCEN_STATE so that it get's called when the scenario begins. It will assign a name and description of your choosing to one of the game's special item types. Then, you can use change_spec_item to change how many of that special item the party has. If you want something to happen when the party steps on a particular spot, you need either a terrain script on that space, or, better for this purpose, a special rectangle which calls a state in the town or outdoor section's script. (Hope I'm not repeating things you already know, but see how far this gets you.)
Überraschung des Dosenöffners!
"On guard, you musty sofa!"
Posts: 627 | Registered: Monday, March 7 2005 08:00
Member # 6193
written Wednesday, January 9 2008 04:46
Westra's Avernum Cookbook has a section on this, along with a info on a lot of other things the docs skip over. I'd suggest you check it out-- Kelandon is hosting it at his site if you're interested.
"NOW PASS ME MY BOOTS. I HAVE AN APPOINTMENT WITH A FACE." -Nikki
Frostbite: Get It While It's...... Hot?
Posts: 900 | Registered: Monday, August 8 2005 07:00