[Mod Help] overwriting XML's / core defs

Started by joshwoo69, August 25, 2015, 07:24:55 PM

Previous topic - Next topic

joshwoo69

changing this topic COMPLETELY. as the prev was answered.
someone in my suggestion for performing surgery pointed out that :

Quote from: spiritus80 on August 28, 2015, 11:56:34 AM
Do anyone know how to make it so we can open the operate tab on animals?
The code for the operation itself is available:

<WorkGiverDef>
    <defName>DoBillsMedicalAnimalOperation</defName>
    <giverClass>WorkGiver_DoBill</giverClass>
    <workType>Doctor</workType>
    <priorityInType>8</priorityInType>
    <billGiversAllAnimals>true</billGiversAllAnimals>
    <billGiversAllAnimalsCorpses>true</billGiversAllAnimalsCorpses>
    <verb>operate</verb>
    <gerund>operating on</gerund>
    <requiredCapacities>
      <li>Manipulation</li>
    </requiredCapacities>
  </WorkGiverDef>

link : https://ludeon.com/forums/index.php?topic=15386.15

However, i am unable to implement it. can anybody help? thanks :)

FridayBiology

> How could we add in short/long term smoking effects
"joyful activity" buff at and after usage.
"low hunger" buff. allows greater time between meals
"addiction" trait.
"stressed" debuff when colonist see others smoking if colonist has "addiction"(smoking)

> And would it wise to add lung and tongue degrading over time by usage?
25% lung damage sets = 15% slowing running etc
25% tongue damage sets = -25% food debuffs and buffs timers
Yes another god damn youtuber.
 https://www.youtube.com/user/FridayBiology

joshwoo69

Quote from: Feirfec on August 25, 2015, 11:49:00 PM
> How could we add in short/long term smoking effects
"joyful activity" buff at and after usage.
"low hunger" buff. allows greater time between meals
"addiction" trait.
"stressed" debuff when colonist see others smoking if colonist has "addiction"(smoking)

> And would it wise to add lung and tongue degrading over time by usage?
25% lung damage sets = 15% slowing running etc
25% tongue damage sets = -25% food debuffs and buffs timers
Yup we could! Someone will need to pick it up... i cannot mod :(

Fluffy (l2032)

There's a mod for that!

"The finer things" if I recall correctly, adds cigarets and cigars, as well as some other stuff. There's also one for weed, if that takes your fancy.

Addictions and health effects are not included.


Toggle

You could of just made a new thing instead of changing the topic from ciggs, heh  :). And yeah, there's a lot of bases for stuff in-game that may not be there. You need recipes in order to perform any operation, and you need to use C# for the recipes. Currently it's only the ones for humans or mechanoids, so you need to make new ones to perform anything on animals. GL.
Selling broken colonist souls for two thousand gold. Accepting cash or credit.