Well-Actually War Trall Archmagus Micael Posted July 29, 2004 Share Posted July 29, 2004 Guys, Please tell me what two calls I need for; a) making the Town Hostile/Friendly teaching the party a spell/recipe Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Imban Posted July 29, 2004 Share Posted July 29, 2004 set_crime_level(number higher than the crime tolerance); will effectively hostile a town. Not sure if there's a real way to friendly a town, though. change_spell_level is what you're looking for with regards to teaching spells. Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Imban Posted July 29, 2004 Share Posted July 29, 2004 double posting sux Link to comment Share on other sites More sharing options...
Garrulous Glaahk Groovejet Posted July 29, 2004 Share Posted July 29, 2004 For a) you can use make_town_hostile() or set_town_status(which town, new_status). Link to comment Share on other sites More sharing options...
Well-Actually War Trall Fort Posted July 29, 2004 Share Posted July 29, 2004 You can make a town friendy by setting its status to 1 when you are OUTSIDE of the town. Strange things might happen otherwise. If you want the people to suddenly like you again, you will have to cycle through all the creatures and make them friendly with a loop. Link to comment Share on other sites More sharing options...
Well-Actually War Trall Archmagus Micael Posted July 30, 2004 Author Share Posted July 30, 2004 Quote: Originally written by Imban:set_crime_level(number higher than the crime tolerance); will effectively hostile a town. Not sure if there's a real way to friendly a town, though. change_spell_level is what you're looking for with regards to teaching spells. Thanks for the SET_CRIME_LEVEL(any old number higher than crime level); What do you have to type after CHANGE_SPELL_LEVEL? What is it - (1,5,2) [pretending that is Priest spell five set to level 2]??? Please answer - Archmagi Micael UNDEAD VALLEY IS NEARLY FINISHED!!!!!!! TESTING VERSION 4 SHOULD BE OUT IN A FEW MORE DAYS, AND THEN IF THE TESTERS GIVE A GREEN LIGHT - IT'LL BE SENT IN TO SPIDERWEB AND THE BoA CENTER! Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted July 30, 2004 Share Posted July 30, 2004 Do you not have a copy of the docs or something? The call give_recipe(short which_recipe) will give a recipe. The parameters on the call change_spell_level are: change_spell_level(short which_char,short mage_or_priest,short which_spell,short amt_to_change). Literally straight out of the Appendices, page 23: "Changes the [level] character which_char knows spell which_spell by amt_to_change (which can be negative). If mage_or_priest is 0, changes mage spell. If 1, changes priest spell." And basically the character's mage or priest spells skill has to be high enough to learn the spell in the first place. Not that it's change spell level, not set spell level, meaning that it increments. If amt_to_change is 1, and if the character already knows the spell at level 3, then the character will know the spell at level 4 after this call. You can use get_spell_level to get around this. Link to comment Share on other sites More sharing options...
Well-Actually War Trall Archmagus Micael Posted July 31, 2004 Author Share Posted July 31, 2004 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts