Files
barotrauma-gamefiles/cookassistant.sh
2025-03-27 14:17:59 +01:00

184 lines
9.1 KiB
Bash

bigmodifier=2
smallmodifier=1.5
# modify '<Talent identifier="crewlayabout">!anyvalue="(?<repairspeedpenalty>!num)"!anyvalue="(?<skillpenalty>!num)"!anyvalue="(?<repairspeedbonus>!num)"!anyvalue="(?<skillbonus>!num)"!anydistance="(?<distance>!num)"!anySkillBonus!anyvalue="(?<skillpenaltyv>!num)"!anyvalue="(?<skillpenaltyv1>!num)"!anyvalue="(?<skillpenaltyv2>!num)"!anyvalue="(?<skillpenaltyv3>!num)"!anyvalue="(?<skillpenaltyv4>!num)"!anyvalue="(?<repairspeedpenaltyv>!num)' \
# "repairspeedpenalty=round(repairspeedpenalty/$bigmodifier, 2)
# skillpenalty=round(skillpenalty/$bigmodifier, 0)
# repairspeedbonus=round(repairspeedbonus*$bigmodifier, 2)
# skillbonus=round(skillbonus*$bigmodifier, 0)
# distance=round(distance*$bigmodifier, 0)
# skillpenaltyv=skillpenalty
# skillpenaltyv1=skillpenalty
# skillpenaltyv2=skillpenalty
# skillpenaltyv3=skillpenalty
# skillpenaltyv4=skillpenalty
# repairspeedpenaltyv=round(-repairspeedpenalty/100, 2)" \
# **/TalentsAssistant.xml
# modify '<Affliction!anyidentifier="pickinguptheslack"!anyvalue="(?<skillbonusv1>!num)"!anyvalue="(?<skillbonusv2>!num)"!anyvalue="(?<skillbonusv3>!num)"!anyvalue="(?<skillbonusv4>!num)"!anyvalue="(?<skillbonusv5>!num)"!anyvalue="(?<repairspeed>!num)' \
# "skillbonusv1=round(skillbonusv1*$bigmodifier, 0)
# skillbonusv2=round(skillbonusv2*$bigmodifier, 0)
# skillbonusv3=round(skillbonusv3*$bigmodifier, 0)
# skillbonusv4=round(skillbonusv4*$bigmodifier, 0)
# skillbonusv5=round(skillbonusv5*$bigmodifier, 0)
# repairspeed=round(repairspeed*$bigmodifier, 2)" \
# **/AfflictionsAssistant.xml
# modify '<Talent identifier="mailman">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<moneybonus>!num)"!anymultiplyvalue="(?<xpbonusv>!num)"!anyamount="(?<moneybonusv>!num)"' \
# "xpbonus=round(xpbonus*$bigmodifier, 2)
# moneybonus=round(moneybonus*$bigmodifier, 0)
# xpbonusv=round(1+xpbonus/100, 2)
# moneybonusv=moneybonus" \
# **/TalentsAssistant.xml
# modify '<Talent identifier="mule">!anyvalue="(?<carryweight>!num)"!anyvalue="(?<carryweightv>!num)"' \
# "carryweight=round(carryweight*$bigmodifier, 0)
# carryweightv=round(carryweightv*$bigmodifier, 0)" \
# **/TalentsAssistant.xml
#
# modify '<Talent identifier="playingcatchup">!anyvalue="(?<levelthreshold>!num)"!anyvalue="(?<experiencevalue>!num)"!anylevelsbehind="(?<levelthresholdv>!num)"!anymultiplyvalue="(?<experiencevaluev>!num)"' \
# "levelthreshold=round(levelthreshold*$bigmodifier, 0)
# experiencevalue=round(experiencevalue*$bigmodifier, 2)
# levelthresholdv=levelthreshold
# experiencevaluev=round(1+experiencevalue/100, 2)" \
# **/TalentsAssistant.xml
# modify '<Talent identifier="skedaddle">!anyvalue="(?<movementspeed>!num)"!anyvalue="(?<movementspeedshort>!num)"!anyvalue="(?<duration>!num)"!anyvalue="(?<movementspeedv>!num)"' \
# "movementspeed=round(movementspeed*$smallmodifier, 2)
# movementspeedshort=round(movementspeedshort*$smallmodifier, 2)
# duration=round(duration*$smallmodifier, 0)
# movementspeedv=round(movementspeed/100, 2)" \
# **/TalentsAssistant.xml
# modify '<Affliction!anyidentifier="skedaddle"!anyduration="(?<durationv>!num)"!anyminspeedmultiplier="(?<minspeedmultiplierv>!num)"!anymaxspeedmultiplier="(?<maxspeedmultiplierv>!num)"' \
# "durationv=round(durationv*$smallmodifier, 0)
# local movementspeed=round((minspeedmultiplierv-1)*$smallmodifier, 2)
# minspeedmultiplierv=1+movementspeed
# maxspeedmultiplierv=1+movementspeed" \
# **/AfflictionsAssistant.xml
exit 0
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# ----------------------------------------------------------
# Primary talents
modify '<Talent identifier="starterquest">!anyvalue="(?<skillbonus>!num)"!anyvalue="(?<skillbonusv>!num)"' \
"skillbonus=round(skillbonus*$bigmodifier, 2)
skillbonusv=round(skillbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="indenturedservitude">!anyvalue="(?<bonusmoney>!num)"!anyvalue="(?<bonusmoneyv>!num)"' \
"bonusmoney=round(bonusmoney*$bigmodifier, 2)
bonusmoneyv=round(bonusmoneyv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="inspiringtunes">!anyvalue="(?<buffpotency>!num)"!anyvalue="(?<duration>!num)"' \
"buffpotency=round(buffpotency*$bigmodifier, 2)
duration=round(duration*$smallmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Affliction!anyidentifier="inspiringtunes"!anyduration="(?<durationv>!num)"!anyvalue="(?<buffpotencyv>!num)"' \
"durationv=round(durationv*$smallmodifier, 2)
buffpotencyv=round(buffpotencyv*$bigmodifier, 2)" \
**/AfflictionsAssistant.xml
modify '<Talent identifier="jengamaster">!anyvalue="(?<speedbonus>!num)"!anyvalue="(?<speedbonusv>!num)"' \
"speedbonus=round(speedbonus*$bigmodifier, 2)
speedbonusv=round(speedbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="peerlearning">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusv>!num)"' \
"xpbonus=round(xpbonus*$bigmodifier, 2)
xpbonusv=round(xpbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="revengesquad">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
"damagebonus=round(damagebonus*$bigmodifier, 2)
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
# Grayshirt specialization
modify '<Talent identifier="thewaitinglist">!anyvalue="(?<respawnbonus>!num)"!anyvalue="(?<respawnbonusv>!num)"' \
"respawnbonus=round(respawnbonus*$bigmodifier, 2)
respawnbonusv=round(respawnbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="nonthreatening">!anyvalue="(?<targetingchance>!num)"!anyvalue="(?<targetingchancemul>!num)"' \
"targetingchance=round(targetingchance*$bigmodifier, 2)
targetingchancemul=round(targetingchancemul*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="tastytarget">!anyvalue="(?<targetingchance>!num)"!anyvalue="(?<damagebonus>!num)"' \
"targetingchance=round(targetingchance*$bigmodifier, 2)
damagebonus=round(damagebonus*$smallmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="insurancepolicy">!anyvalue="(?<bonus>!num)"!anyvalue="(?<bonusv>!num)"' \
"bonus=round(bonus*$bigmodifier, 2)
bonusv=round(bonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="anappleaday">!anyvalue="(?<healingbonus>!num)"!anyvalue="(?<healingbonusv>!num)"' \
"healingbonus=round(healingbonus*$bigmodifier, 2)
healingbonusv=round(healingbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="thefriendswemade">!anyvalue="(?<buffpotency>!num)"!anyvalue="(?<buffpotencyv>!num)"' \
"buffpotency=round(buffpotency*$bigmodifier, 2)
buffpotencyv=round(buffpotencyv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
# Apprentice specialization
modify '<Talent identifier="logisticssystems">!anyvalue="(?<speedbonus>!num)"!anyvalue="(?<speedbonusv>!num)"' \
"speedbonus=round(speedbonus*$bigmodifier, 2)
speedbonusv=round(speedbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="journeyman">!anyvalue="(?<skillbonus>!num)"!anyvalue="(?<skillbonusv>!num)"' \
"skillbonus=round(skillbonus*$bigmodifier, 2)
skillbonusv=round(skillbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="loyalassistant">!anyvalue="(?<xpbonus>!num)"!anyvalue="(?<xpbonusv>!num)"' \
"xpbonus=round(xpbonus*$bigmodifier, 2)
xpbonusv=round(xpbonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="disloyalscum">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
"damagebonus=round(damagebonus*$bigmodifier, 2)
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
# Clown specialization
modify '<Talent identifier="enrollintoclowncollege">!anyvalue="(?<buffpotency>!num)"!anyvalue="(?<buffpotencyv>!num)"' \
"buffpotency=round(buffpotency*$bigmodifier, 2)
buffpotencyv=round(buffpotencyv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="waterprankster">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
"damagebonus=round(damagebonus*$bigmodifier, 2)
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="psychoclown">!anyvalue="(?<stunpotency>!num)"!anyvalue="(?<stunpotencyv>!num)"' \
"stunpotency=round(stunpotency*$bigmodifier, 2)
stunpotencyv=round(stunpotencyv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="chonkyhonks">!anyvalue="(?<damagebonus>!num)"!anyvalue="(?<damagebonusv>!num)"' \
"damagebonus=round(damagebonus*$bigmodifier, 2)
damagebonusv=round(damagebonusv*$bigmodifier, 2)" \
**/TalentsAssistant.xml
modify '<Talent identifier="truepotential">!anyvalue="(?<buffpotency>!num)"!anyvalue="(?<buffpotencyv>!num)"' \
"buffpotency=round(buffpotency*$bigmodifier, 2)
buffpotencyv=round(buffpotencyv*$bigmodifier, 2)" \
**/TalentsAssistant.xml