Skip to content

Instantly share code, notes, and snippets.

@v1ld
Last active June 13, 2017 16:00
Show Gist options
  • Save v1ld/a90dfd4827232eed4bcba2b6efeaa9cf to your computer and use it in GitHub Desktop.
Save v1ld/a90dfd4827232eed4bcba2b6efeaa9cf to your computer and use it in GitHub Desktop.

Scripts

This fixes a bug with hostage tasks in DrX where you crash if the task giver dies. Other DrX tasks have this check already.

xr_effects.script:2903 check for giver_id being valid first:

-- Unregister task giver:
if ( giver_id ) then
	alun_utils.save_var( db.actor, ("drx_sl_hostage_giver_" .. giver_id), false )
	printf( ("DRX SL: drx_sl_hostage_giver_" .. giver_id .. " unregistered") )
end

These two scripts can be removed from the translation with these one-line tweaks.

  1. bind_crow.script:52 should be self.object:set_tip_text(game.translate_string("st_body_loot"))
  2. ui_itm_repair.script:250 should be self.caption_parts:SetText(game.translate_string("kb_use"))

Configs

Remove faction patches from stash contents - this fix will be in CoC 1.4.23.

plugins\coc_treasure_manager.ltx add to end of file:

;----------------FACTION PATCHES---------------------------
army_patch
bandit_patch
csky_patch
duty_patch
ecolog_patch
freedom_patch
merc_patch
monolith_patch
stalker_patch

Mutant decay time is very low at 1200 secs which is 2 mins real time due to time_factor of 10. You can't loot something you just killed at the end of a longer battle. Suggest bumping it to 10 or 20 mins real time.

plugins\itms_manager.ltx:131 change to 12000 for 20 mins real time

decay_time = 12000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment