handySeds.txt 578 B

123456789101112131415161718192021
  1. Variables: none
  2. s/actor \+\([A-Za-z0-9]\+\) *: \+\([A-Za-z0-9]\+\)\( \+[0-9]\+\)\=/\/\/&\ractor \12: \2 replaces \1/
  3. Turns lines such as
  4. actor Herp: Derp 92334
  5. into
  6. //actor Herp: Derp 92334
  7. actor Herp2: Derp replaces Herp
  8. Variables: dmgFactorName, newDmgName
  9. s/\( *\)DamageFactor \+\"${dmgFactorName}\", \+\([0-9]\+\(\.[0-9]\+\)\=\)/&\r\1DamageFactor \"${newDmgName}\", \2/
  10. Given {dmgFactorName, newDmgName = "Zorch", "ZorchSpectral"}, turns lines such as
  11. DamageFactor "Zorch", 1.5
  12. into
  13. DamageFactor "Zorch", 1.5
  14. DamageFactor "ZorchSpectral", 1.5