Monday, March 23, 2015

Revision 4098 - Revision 4099

Revision 4098
Lillibilli: (Revamp script)
End of day log now fires off properly at 6:00.
Added handle_girl_log method as a framework for adding stuff to the log, need to find out a way to pass on to the stat changes to the method.
Bedwarmer string for end of day log added.

Revision 4099
Edwards21: New graphics for City Hunter to match his new dialogue!

Friday, March 20, 2015

Revision 4093 - Revision 4097

Revision 4093
Edwards21: First of two corrections for the City Hunter. Dialogue rewritten, new characterization.

Revision 4094
Edwards21: Encounters added to the Southern Plains! Including two special minibosses! See if you can beat them! (No real reward at this time, we'll get there)

Revision 4095
Lillibilli: Fixed Player speed not resetting to gameplay speed after refusing to buy Asuka Soryu from the old man.
Changed the 3rd quest of Mohawk chain to make returning to the mayor of Arune optional if Devlin was killed.
Converted Introduction and Kobold quest dialogue to external txt format.

Revision 4096
Lillibilli: Swapped the guards in the Deril military checkpoint to Deril guards.
Fixed Deril military checkpoint shops.
Various minor fixes for the plains.
Fixed Yeti Cave teleporting players in front of Xalvador room after it was opened.
Fixed Xalvador entrance potential to be blocked if certain action are taken.
Added Dialogue after the fight with Xalvador. (nothing too special, just an acknowledgement so that it doesn't look bugged)
Added advance_hour_to(hour) script method to the CCTS script to advance to a specific hour of the day.
Added bed to sleep in during the Ayane/Kasumi quest, usable after you get locked out if you try to sneak in during the day.
The Scroll of Antidotes is temporarily split and hidden in the 4 corners of the world.

P.S: The Scroll of Antidotes will not stay an hidden object (or 4) forever, a proper quest to gain it is in the works.

Revision 4097
Lillibilli: Evented puzzle for a WIP quest.

Tuesday, March 17, 2015

Revision 4076 - Revision 4092

Revision 4076
Edwards21: And I'm back! Some updates to various maps in and around Deril. More updates and new stuff to come this weekend!

Revision 4077
Edwards21: Little update to correct old oversight in the spider cave.

Revision 4078
Edwards21: Big mechanical update to the Mage Tower / Octo quest. Floating platform mechanic implemented, in testing. Stairs and map connections added. Treasure chests added. Some corrections and bugfixes to other areas. More updates to come.

Revision 4079
Lillibilli: WIP Quest: Mage Tower
- Platforms almost fixed (missing recording position for the red floor ones).
- Gates and Switches puzzle eventing ironed out. 

Revision 4080
Lillibilli: Added a couple of missing charset

Revision 4081
Edwards21: Updates to mage tower, boss added, some fixes.

Revision 4082
Lillibilli: (Revamp Script)
Added Bedwarmer_ableness_hash to database and doc

Changed methods:
- Added bedwarmer framework
- Added loop skipping if no girl is assigned in the various jobs

- Added method to actor class (uses the player id if the argument is "Player")

handle_stat_exp(stat_id, value, reason=nil)
- Added bedwarmer conditionals

- Will now get the the player id if the argument for actor_id is "Player"
- Added conditionals for bedwarmer and guards
- Added conditional to create the key for the girl id if the key was not there before
- Added caps for relationships at -100 and 100

handle_health_gain(value, reason=nil)
- added conditional for bedwarmer with player not in the brothel

def handle_health_loss(value, reason=nil)
- added conditionals for bedwarmer

Revision 4083
Lillibilli: Fixed Red Platforms in the mage tower.
Added Remember Event Position script by Shaz (modified by me to work for SB2).
Instruction to use the script calls are at line 634 of the "Miscellaneous" script page.

Revision 4084
Lillibilli: WIP Quest: Mage Tower
- General imprevements and tileset additions.
- Final event pathing slightly reworked.

Revision 4085 - Revision 4086
Lillibilli: Added Player reputation system script.
Instructions and reference list are on the "Reputations" script page.
Added a couple of rep changes to test things out, no effect to players yet. 

Revision 4087
Lillibilli: Fixed lumberjack tent.
Removed random debug teleports from Nivalis.
Added more obvious pathing leading to Captain Mohawk lair.
Swapped chest in frosted forest for something more in line with the rest of the game.

(revamp script)
Updated Secrets menu, not yet complete.

Revision 4088
Edwards21: Big update!
Ever wanted to beat up a giant octopus? Now's your chance! A big ol' monster has taken up residence in the river north of the Heartland. The Hunter in the City wants it dead. Do you have what it takes?

New areas: Southern Plains, and Zalbar's Mage Tower (NOTE: neither of these two areas have random battles yet, that will be corrected tomorrow)

Tileset update for "riversite.png"

Various bug corrections in Arune and surrounding areas.

Two new pieces of equipment: Hunter's Season (cloak) and Zalbar's Focus (accessory)

Please report bugs ASAP!

Revision 4089
Lillibilli: Actors will now get untagged when removed form the party.
Sold free staff can now be bought back. (Desert Viper might have an issue with this for saves that have her unlocked before this rev)
Desert Viper added to quest merc array.

(Revamp script)
Added some info in the database that was only added to the current version.

Revision 4090
Lillibilli: Reimplemented girls that were reserved for quest that have since been put on hold.
Lenna Tycoon quest trigger chance has been changed from 1% to 40%, other requirements are the same as before.

Revision 4091
Lillibilli: Fixed Lenna Tycoon not being buyable in the market when the her quest was resolved without getting her.
Some minor events fixes.
Added framework for thiefville couple event, still needs graphics before implementation.

Revision 4092
Lillibilli: Removed a debug teleport near Devlin.
Altered some Captain Mohawk questline dialogue to better advertise to the player the current objective.

Friday, March 13, 2015

Revision 4067 Revision 4075

Revision 4067
Lillibilli: (revamp script)
added hashes:
- Teacher_ableness_hash

updated handle_secondary_work
- added teacher calculations (need double checking)
- added submethod check_higest_stat to check the teacher highest stat

Revision 4068
Lillibilli: Fixed a couple of trees not showing the correct sprite after being cut.
Fixed Hakufu Sonsaku (Ikkitousen) having the Free Soul trait 2 times. (only works on new games) 

Revision 4069
Lillibilli: Added a functioning item shop to nivalis.
Fixed a few layering and collisions issues in nivalis.
Fixed the thief at the end of the Ishizu quest not taking the money for the holy spell.
Fixed scorpion tail item description.

Revision 4070
Lillibilli: Fixed error when pressing right or left on the keyboard when highlighting the auto assign button.

Revision 4071
Lillibilli: (Revamp script)
Updated teacher to chose the stat to teach with a managerial choice, updated related stuff to account for this change.

Revision 4072
Lillibilli: Added a more descriptive error message to a crash in the FMOD module when there is a music switch, as i'm unable to reproduce this crash on my machine i need the error data reported in the forums or chat.

Revision 4073
Lillibilli: Added better advertisement of when girls are tagged in the girl management menu.
(Revamp script)
Removed obedience from the choices of teachers

Revision 4074
Lillibilli: Rebuilt Bulma's quest, hopefully this time it will not present any more bugs.
Fixed Android 18 quest to trigger based on the new Bulma's quest logic.
In most cases both Bulma and Android 18 will now be buy able in the market if the quests are ended without getting them.
Some minor random fixes to dialogues.

P.S: This revision might cause some strange happenings in save games with Bulma's quest in progress, it should not be anything too bad though.

Revision 4075
Lillibilli: Fixed crash when cutting a specific tree in the snowy forest under certain circumstances.
Fixed trees in the snowy forest to have stumps when cut.
Updated script calls for the tree cutting, should be easier to put trees in now.
Added tree stump charset to use for cuttable trees.
Corrected some random typos.

Friday, February 27, 2015

Revision 4062 - Revision 4065

Revision 4062
Lillibilli: Fixed sprites disappearing when another event with the same sprite was changed or erased. (aka no more ninja kobolds)

Revision 4063
Black_imperator: future revamp, updated brothel loader and template for management decisions.

Revision 4064
Lillibilli: (Revamp script) updated handle_waiting_cust method:
- guard intervention effects are in the guard_intervening? method now.
- some minor updates to some errors i made.
- linked the conditionals to the correct management decisions.

Revision 4065
Lillibilli: Linked Management Menu choices to the correct management_decisions variable in the brothel class.
Added default decisions for all the keys in management_decisions in the brothel generation process.
Removed default key from potential_management_decisions as it caused duplicated values once defined in the xml.
Added Management decisions in the xml of the brothels. (all on first available upgrade, might want to make it a gradual unlock for balance)
Corrected some conditional to check the correct management decision.

Tuesday, February 17, 2015

Revision 4059 - Revision 4060

Revision 4059
Lillibilli: Fixed Lisanna Strauss's gloves, should no longer crash in the menu when the sprite is drawn.
Fixed some misalignments on the japan mixed tileset.
Uploaded DeWasp's bar and inn maps for Deril.

Revision 4060
Lillibilli: Fixed Alena Tsarevna crash in menus when the sprite is drawn. Unfortunately it is not save compatible, if you have her in a savegame started before this revision. You should sell, store or otherwise put her where her sprite will not be drawn.

Monday, February 16, 2015

Revision 4055 - Revision 4058

Revision 4055
Lillibilli: (Revamp script)
added hashes to doc: 
- Medic_ableness_hash
- Medic_bedside_manners_hash 
- Maid_ableness_hash 
- Dungeon_mistress_ableness_hash 
- Morale_rate_hash 
- Morale_loss_rate_hash

changed methods:
def end_work 
- added handle_secondary_work 
- added compute_end_of_work_regen

def handle_secondary_work 
- added method
 - added maid handling 
- dungeon handling incomplete 
- teacher handling missing

def compute_end_of_work_regen 
- added method 
- food type calculations still missing

def handle_health_gain(value, reason=nil) 
- added "EndWork" conditional

def handle_morale_gain(value, reason=nil)
 - added "EndWork" conditional

def add_excitement(cause, brothel_id = nil) 
- added brothel_id argument (to pass down to get_excitement_modifier)

def get_excitement_modifier(cause, brothel_id = nil) 
- added brothel_id argument
 - added check for maid in daily cleaning mode 
- modifier gets computed from maid charisma and beauty if maid is set to daily cleaning and at least one is present, not modified by any hashes atm

def add_boredom(cause, brothel_id = nil)
def get_boredom_modifier(cause, brothel_id = nil) 
- same as excitement methods but modifier gets reduced instead of improved

def handle_stat_exp(stat_id, value, reason=nil) 
- modified reason conditional to get all stats to change internally without other arguments coming into play 
- if no reason is given it will use stat_id and value as argument for the stat handling

def get_stat_id_from_name(stat_name) 
- added method under actor class as a submethod of handle_stat_exp

def add_girl_encounter_exp(girl,sat_level) 
- renamed from add_girl_reputation_exp 
- now calls both rep and stats handle method

def handle_morale_loss(value, reason=nil) 
- added method, mirror of the health one, but for morale

Revision 4056
Lillibilli: (Revamp script)
fixed syntax error and removed a couple of leftover print commands

Revision 4057
Lillibilli: Fixed bugs with Tifa's first scene, in addition it can now be triggered coming from the northern fork too.
Improved boat ride cutscene, it also now properly checks for remaining gold and subtracts them if you do chose to ride.
Starter brothels chains no longer block pathing.

Revision 4058
Lillibilli: reverted Game.ini to correct version, sorry about that.

Wednesday, February 11, 2015

Revision 4051 - Revision 4054

Revision 4051
Lillibilli: Updated Deril Dock's boat (mostly DeWasp's work)
Updated Deril Lighthouse exterior (DeWasp)
Updated Deril Plains (ejunks100)
Removed multiple weather definitions on some maps
Fixed savegame weather data to get redefined only if weather script has been changed
Fixed CCTS's WRITE_MISSING_DATA debug tool
CCTS fix for inconsistencies of the weather when swapping maps under some specific conditions, based on ArcaneAlchemy's work
CCTS fix for weather sounds being heard on wrong maps by KK20

Revision 4052
Lillibilli: (Revamp script)
merged CCTS fixes
- Fixed savegame weather data to get redefined only if weather script has been changed
- Fixed CCTS's WRITE_MISSING_DATA debug tool
- CCTS fix for inconsistencies of the weather when swapping maps under some specific conditions, based on ArcaneAlchemy's work
- CCTS fix for weather sounds being heard on wrong maps by KK20

added "sample" method to class Array in the "Library" script

added module CUST_CLASS to store the class id constants and the def self.customer_class_id_from_name(name)
previously under the DB module, it caused conflicts with the girl traits.

methods changed:
685 "Brothel" def allowed_by_bouncers?(cust)
- added "return true" as debug till the xml give default limit_type and current_limits

1358 "Brothel" def get_all_available_workers(job)
- changed "return res" to "return res.compact" so that it doesn't give nil results anymore

726 "Brothel" def get_possible_actions(cust,job)
- now returns the correct array of [action, rate] instead of an array of actions strings

764 "Brothel" def choose_possible_actions(girl,actions)
- added "ratedef += girl.obe/10" for defence against bribing
- corrected typo that caused a crash ("ratedeff" instead of "ratedef")

818 "Brothel" def test_action(action, customer, girl)
- added stat handling for bribing

1842 "Brothel" def get_rooNum(actor_id, jobNum, day=$game_system.time.week_day_num($game_system.time.day_name))
- added the "day" argument defaulting to the current day
- changed " if room.occupant_id == actor_id" to " if room.occupant_id[day] == actor_id"
- added "break if rooNum != -1" to avoid checking all the rooms if a match has already been found

3260 "New Menu" def menu_switch(index)
- added "@dayindex" as an argument to lines 3262 and 3393

Revision 4053
Lillibilli: Fixed crash in four versions of the forest's first map caused by an incorrect enemy troop list.

Revision 4054
Lillibilli: (Revamp script)
improved methods:
def handle_health_gain(value, reason=nil)
- Health_rate_hash missing, added it to the doc
- added self.add_health(val) after the hash modifier

def handle_health_loss(value, reason=nil)
- added method to actor class
- added possibilities to the conditional (all set to 10 for now)
- returns the value subtracted for use in determining exhaustion if necessary
- Health_loss_rate_hash added to the doc

def exhaustion?(vigor_loss)
- shifted method into the actor class

def add_exhaustion(reason, vigor_loss = nil, additional_duration = nil)
- added missing method to the actor class
- defaults to duration of 1 if no vigor loss is given to compute the duration
- incorporated compute_exhaustion method into this one to compute duration if vigor loss was given
- after all other calculations are done it adds the additional_duration argument to the current duration (so that exhaustion lasts more than encounter duration)

def compute_exhaustion(vigor_loss)
- deleted redundant method

def test_action(action, customer, girl)
- swapped handle_health_gain with handle_health_loss
- added check for exhaustion when necessary

def handle_waiting_cust(cust)
- added vigor loss and exhaustion check to guards interventions

def handle_pasttime_effects(cust,pasttime,wants)
- added vigor loss and exhaustion checks when appropriate

def compute_vigor_loss(cust,girl,tips,enc_dur)
- changed hash operation from multiplication to addition
- Tip_vigor_loss_hash added to doc

Sunday, February 8, 2015

Revision 4049 - Revision 4050

Revision 4049
Lillibilli: (Revamp script) Merged missing hashes.

Revision 4050
Edwards21: Abandoned Mage Tower (Octo Quest) barebones architecture now complete. Many revisions to come!

Saturday, February 7, 2015

Revision 4047 - Revision 4048

Revision 4047
Lillibilli: Changed default row to the front one.
Fixed the "Mute/Unmute" button not stopping the weather sounds or sound effects when muting the sound.
Fixed the "Mute/Unmute" button to make it properly resume the music and weather sounds when unmuting the sound.
Loading a save will now resume playing the weather sounds.

(Revamp script)
Same as above.
Merged the XML body checker to the actor loader.
Merged the "Disallow Movement" Switch
Merged compute_satisfaction, add_girl_reputation_exp, exhaustion? and compute_exhaustion methods.
Changed handle_encounter method argument from offer to attractiveness.
Changed handle_work method to use attractiveness as an argument instead of the offer for the handle_encounter method.

Revision 4048
Lillibilli: (Revamp script)
Fixed a few methods.