Commit Graph

30 Commits

Author SHA1 Message Date
ninjanomnom d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00
Tad Hardesty f7717cc406 Fix family heirloom being lost on cloning 2018-05-30 19:21:33 -07:00
CitrusGender 590519fb41 Fix: Negative blood levels now kill you (#38105) 2018-05-27 23:34:39 -07:00
Mickyan 9d8c1afa22 New Trait: Drunken Resilience (#38076)
* drunk healing

* balance, bugfix

* more consistent wording

* removed random chance and tweaked values

* rounding values

* 0 to FALSE, slightly lowered top values
2018-05-27 14:23:38 -07:00
Tad Hardesty 6b4816c0d6 Fix family heirlooms sometimes failing to spawn 2018-05-19 18:47:35 -07:00
Iamgoofball 399ee79f9a family heirlooms properly open the bag upon spawning if they're in the bag (#37754) 2018-05-10 22:24:10 -07:00
XDTM aa782fffd2 [s] Hallucinations 4.0 (#37423)
No ingame changelog cause these are supposed to fool people.

Changes:

    Hallucinations now pick from a single weighted list, instead of being separated in tiers. The more obvious a hallucinations, the less likely it is to appear.
    Hallucination is now a contantly ticking down variable. 1 hallucination = 2 seconds duration. Hallucinating effects have been rebalanced to fit this.
    Hallucinations have a random cooldown ranging from 10 to 60 seconds. The status will still tick down in the meantime.
    The Sounds hallucinations has been split in three: realistic sounds (likely), weird sounds (rare), and station messages (i.e. the shuttle arrived, blob warning, etc.)(also rare).
    The Bolts hallucination now stops you from bumping doors open. You can still click them to open them.
    Removed the singulo hallucination. It's pretty much impossible to make it realistic enough, and it's too widely known to scare someone. It's an annoyance and a definite tell that you're hallucinating.
    Removed the xeno attack for the same reasons. It was kept in the code to serve as a pseudotemplate for hallucination mobs.
    Removed the fake attacker hallucination. Trying to replicate full attack and defense code as well as managing icon generation with blacklists and all is just not worth it. It would never be realistic enough.
    RDS hallucinations have been either rolled into normal ones or removed (the OOC ones). No reason to keep them separate, aside from throwing off the hallucination odds (which has resulted in complaints about the cult victory warning being too common).
    Added/edited a lot of strings for the text-based hallucinations. I could definitely use a few more for the message hallucination, i got writer's block there.
2018-05-10 09:15:46 +12:00
Xhuis 6c6ca28ed2 not allowed to use quirks unless you code them 2018-05-03 12:29:10 -04:00
Xhuis a90726bfbf Renames traits to quirks, for clarity 2018-05-03 12:12:30 -04:00
Armhulen 68fbe33833 deadly brain tumor now gives -3 points (#37455)
* i can tweak it if need be yadda yadda one line change

* ok lets be SENSIBLE.
2018-05-02 22:23:44 -04:00
Jordan Brown 32f2f07e4d Merge pull request #37513 from ShizCalev/pineapple-memes
Adds traits for a character's preference towards pineapples.
2018-04-30 14:02:59 -04:00
ShizCalev 0cca546167 typo 2018-04-28 15:46:26 -04:00
ShizCalev e6ef83f059 Adds pineapple traits 2018-04-28 02:55:59 -04:00
AnturK 52a99c09d6 Uppercase slot defines 2018-04-27 10:38:32 +02:00
Mickyan a4f8c24f02 Renamed trait, nerfed drain amount 2018-04-26 17:23:08 +02:00
Mickyan c3792034d2 Adds anemic trait 2018-04-25 20:06:59 +02:00
kevinz000 ab993a117a Component Storage, Experimental attack_hand and [ui_]interact() refactors (#36696) 2018-04-12 14:46:14 +03:00
Ashe Higgs a2a6c2db96 Disables mood traits when mood is disabled (#37082)
* disables mood traits if mood is off

* my copypasta is showing

* Update negative.dm
2018-04-11 15:04:49 +03:00
vuonojenmustaturska 4aa836b356 Fixes an heirloom trait-related runtime that gets spammed in the logs (#37036)
* honk

* return

* Update negative.dm

* Update _trait.dm
2018-04-09 11:53:02 +02:00
KorPhaeron 08b2846a87 Removes april fools from heirlooms 2018-04-03 05:50:39 -05:00
Ashe Higgs bd42041c9c Adds the Family Heirloom, Nyctophobia, and Monochromacy traits, and rebalances Social Anxiety (#36426)
* Adds some more traits

* April Fools' heirlooms

* Fixes the detective sound

* Refactor to use signals
2018-03-28 16:14:08 +03:00
Ashe Higgs b6b1230231 Fixes slimeperson traits (#36663) 2018-03-26 22:11:33 -04:00
Armhulen 3ebab638c1 Brain Damage Trait (#36235)
* OK FINE GOD.

* balance??
2018-03-19 20:01:15 -04:00
Ian Turk fbe5f4a062 Replaced body zone magic strings with defines 2018-03-19 15:44:51 -05:00
kevinz000 2cd09cc381 .len runtime fix (#36275) 2018-03-10 02:04:06 -06:00
Qustinnus 5140cff38c [reviewpls] Adds moodlets to the game - [Please give suggestions for trait additions in comments] (#35475)
Floyd / Qustinnus (Sprites by Ausops, Some moodlets by Ike709)

add: Adds mood, which can be found by clicking on the face icon on your screen.
add: Adds various moodlets which affect your mood. Try eating your favourite food, playing an arcade game, reading a book, or petting a doggo to increase your moo. Also be sure to take care of your hunger on a regular basis, like always.
add: Adds config option to disable/enable mood.
add: Indoor area's now have a beauty var defined by the amount of cleanables in them, (We can later expand this to something like rimworld, where structures could make rooms more beautiful). These also affect mood. (Janitor now has gameplay purpose besides slipping and removing useless decals)
remove: Removes hunger slowdown, replacing it with slowdown by being depressed
imageadd: Icons for mood states and depression states


What this PR is

This PR adds a system that allows player to gain and lose moodlets based on events occuring to, and around them. These events then give the player a mood value based on what it is. For example a hug could give you +1 mood, while being stabbed in the eye with a screwdriver can give -5 mood. All these moodlets together determine the mood of your character which currently affects the following things:

    Movement speed - If you are very sad you move slower. Replacing movement slow from hunger. (hunger now instead affects mood)
    Screen blur - If you are sad you gain an overlay that slightly blurs the screen, increasing in severity as you get sadder.
    Interaction / do after speed - If you are sad or happy your interaction speed with things such as handcuffs is changed. with a 25% longer time if you are sad, or 10% shorter time if you are extremely happy.
    Hunger rate - You gain hunger slower if you are very happy.
2018-03-08 14:15:57 +13:00
vuonojenmustaturska 034b0c8343 Merge pull request #36202 from cebutris/lithenessk
Small spellcheck in traits
2018-03-08 00:02:58 +02:00
Ashe Higgs 5c8d845f56 [s] Improves and secures trait assignment code, allows their pref to be changed midround, tweaks RDS and Night Vision (#36160)
* Traits but less buggy

* no tick while dead

* fix security vuln
2018-03-06 15:57:42 +02:00
Cebutris 78d4e57ba7 lithnessk -> litheness 2018-03-06 08:04:22 -05:00
Ashe Higgs ab9e2e8902 Adds minor roundstart traits! (ala CDDA, etc.) (#35440)
* Roundstart traits

* Unspaghettifies night vision

* Fuck everything

* Issues patch
2018-03-02 13:39:44 +13:00