Monday, May 18, 2015

Revision 4164 - Revision 4168

Revision 4164
Lillibilli:
Sign in should now properly heal and remove statuses form all actors in your brothels (unless it is a brothel status).
Removed alchemy recipe book from the Harpy's Nest.
Updated diary in master bedroom of the Harpy's Nest to use the proper brothel menu.

(Revamp script)
Fixed bug 20, now actors should be properly healed when signing in.

Revision 4165
Lillibilli:
(Revamp script)
Added handle_revenue method to deal with brothel profit and losses.
Updated the end of day log to get the revenue data from the correct variables.
TODO: need to check whore calculations, a single girl in a starter brothel is making an average of 1500 a day.
TODO: add maintenance cost to brothel XMLs.

Revision 4166
Lillibilli:
(Revamp script)
Fixed STATES module constants to link to valid states (was causing those states to not work at all).
Fixed attractiveness list to not delete girl who are busy (since that state gets always set at the start of the day, might need a new state to indicate an unavailable girl).
With exhaustion working the girl revenue gone down from 1500 to 200 average.

Revision 4167
Drdrak:
(Future Revamp) fixed an issue with too few parameters for the method stop_working in module WORK (Actor/couple/party) that caused a crash when trying to add an actor to the battle party

Several calls were being made to this method with no parameters, or only a single boolean parameter.

Overloaded the method's parameter list to properly handle these cases
being handed nil for the day parameter now unassigns all 7 days
no parameters defaults to all 7 days, and forced of false
a single boolean parameter defaults to all 7 days and forced is the boolean value provided
a single non-boolean is treated as if day was provided, and forced defaults to false

Revision 4168
Lillibilli:
(Revamp script)
Fixed states code broking out (again).
Added WORKING state to indicate that a girl is assigned, BUSY now is exclusive to a girl occupied with a customer.
Added working? method to the actor class to check if the girl has the assigned state.
Added add_brothel_state and remove_brothel_state to deal with brothel states since they need special handling.
Stats changes section of the end of day log only gets printed if any stats are actually changed. 


No comments:

Post a Comment