Both sides previous revision Previous revision Next revision | Previous revision | ||
hpl2:machine_for_pigs:notes [2020/04/04 14:08] mudbill Added link to Infection page. Also, deprecated previous "New Scripts" page by Darkfire as this page now contains more info. Credit to Darkfire for the initial documentation. |
hpl2:machine_for_pigs:notes [2020/04/04 14:14] (current) mudbill [Player] |
||
---|---|---|---|
Line 84: | Line 84: | ||
</code> | </code> | ||
- | Sets the [[https://wiki.frictionalgames.com/hpl2/machine_for_pigs/infection|infection]] level for the player. Infection replaces sanity from TDD and acts similar, however it goes from 0-100 instead of 100-0. An infection level above approximately 20 will affect the player's ability to move. Infection level above 80 will kill the player. Infection slowly decreases over time, unless high enough. \\ | + | Sets the [[:hpl2:machine_for_pigs:infection|infection]] level for the player. Infection replaces sanity from TDD and acts similar, however it goes from 0-100 instead of 100-0. An infection level above approximately 20 will affect the player's ability to move. Infection level above 80 will kill the player. Infection slowly decreases over time, unless high enough. \\ |
This function replaces TDD's ''SetPlayerSanity''. | This function replaces TDD's ''SetPlayerSanity''. | ||