town_status

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: town_status
Warrior
Member # 4492
Profile #0
Does the town_status actually change if you dun set it manually but say commit a crime and make it angry? The town remains angry but on checking its status, it seems to return 0 = never been entered.
Posts: 61 | Registered: Wednesday, June 9 2004 07:00
The Establishment
Member # 6
Profile #1
I think town_status is broken. You can track it with flags anyway.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Off With Their Heads
Member # 4045
Profile Homepage #2
We told Jeff about this when he was going to make the upgrade from v1.1 to v1.1.1, and I thought he was going to fix this. Oh well.

I've found some bugs lately, too (with beam projectors in particular). I say after GF3 gets released, we push for another bug-fix for BoA.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Warrior
Member # 4492
Profile #3
How do you track it with flags?
Posts: 61 | Registered: Wednesday, June 9 2004 07:00
Agent
Member # 2820
Profile #4
Check to see if the town has become angry with get_crime_level(), or some call named similar to that. Then set an appropriate flag if the town is hostile. I don't think there is a good way to make a town friendly again after it becomes hostile, though.

[ Sunday, December 26, 2004 19:23: Message edited by: Garrison ]

--------------------
Thuryl: I mean, most of us don't go around consuming our own bodily fluids, no matter how delicious they are.
====
Alorael: War and violence would end if we all had each other's babies!
====
Drakefyre: Those are hideous mangos.
Posts: 1415 | Registered: Thursday, March 27 2003 08:00
The Establishment
Member # 6
Profile #5
Well, what you can do is make a loop from i = 6 to the highest number character in the town and set each one to a friendly attitude. Not compact, but simple enough.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Warrior
Member # 4492
Profile #6
Ok, get_crime_level worked for me. Thanks.
Posts: 61 | Registered: Wednesday, June 9 2004 07:00