Commit Graph

134 Commits

Author SHA1 Message Date
ACCount 1f5b59190d NTNet airlocks (#35947)
* Standardizes access checks

* Makes SS Networks init before SS Atoms to prevent NTNet interfaces from initializing before them

* Adds passkey support to NTNet packets

* Adds NTNet support to airlocks, makes door remote use NTNet

* Access levels given by jobs are now shuffled

* Access code improvements

* Adds IC card readers

* Fixes a delay issue with opening/closing airlocks with NTNet or signalers

* code review memes

* Renames plaintext_passkey to encrypted_passkey

* death by thousand nitpicks
2018-03-08 18:39:17 -05: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
ACCount 18ed878cc4 Refactors construction datums into components (#35894) 2018-03-04 17:51:38 -06: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
XDTM b49798c483 Converts several species traits into generic traits (#35743)
* Converts several species traits into generic traits

* 2hot
2018-02-26 10:47:58 +13:00
Ashe Higgs 7c38e7eac3 Refactors butchering to a component - item-based butchering effectiveness, speed, and chances (#35744)
* Butchering component

* auto-butchering based on toolspeed

* Gives drills their butchering back

* redoes toggles
2018-02-26 09:50:16 +13:00
XDTM 2ac902ab3c Refactors anti-magic into a component (#35639)
* Refactors anti-magic into a component

* plenty o stuff, mainly holy and antimagic traits

* fix

* fix2

* moved to components, moved some of the logic to the component

* don't blame me if the code looks copypastey

* right
2018-02-26 09:45:12 +13:00
oranges 82af086fd8 Merge pull request #35542 from ShizCalev/free-spam-removal
Cleans up some duplicate canusetopic warnings
2018-02-16 15:34:37 +13:00
Jordan Brown 83072d60e2 Merge pull request #35612 from vuonojenmustaturska/vuonojenmustaturska-patch-1
Prevents docking ports from being thrown away by chasms
2018-02-13 21:56:57 -05:00
vuonojenmustaturska e62b750a78 Prevents docking ports from being thrown away by chasms 2018-02-13 02:53:33 +02:00
ACCount12 f43fcbd1d6 Replaces istype checks for mining tools with tool_behavior checks 2018-02-13 00:09:50 +03:00
ACCount12 2169e8638c Makes mining tools use use_tool and have tool_behaviour 2018-02-13 00:09:50 +03:00
ShizCalev 3cb6ab32d2 Cleans up some duplicate canusetopic warnings 2018-02-11 09:56:43 -05:00
ShizCalev bfde5ac057 [s] Fixes altclick exploits (#35456)
* Fixes altclick exploits

* Removed free spam, fixes monkey altclicks

* replaced named args with proper defines

* More cleanup and fixes

* Better yet

* Another exploit fix

* pet carrier fix
2018-02-11 16:06:12 +13:00
vuonojenmustaturska 1c8e450f15 Fixes geiger counters on engiborgs (#35423)
* a commit

* Update geiger_counter.dm
2018-02-08 12:21:06 -05:00
vuonojenmustaturska c4fd8715a5 Return of ore stacking, various changes to lavaland bombs to facilitate reduced lag (#35291)
* Ore Stacking

* honk

* honk

* component memes

* honk2

* fix overlay off-by-1, sheet singular names

* Give the ores more descriptive names since sheets also have

* whoops debug memes

* atom editor memes

* fixes

* snowdin fix
2018-02-05 22:27:35 +01:00
AnturK 05aa7257b1 Hmm explicit might have been better for readability. 2018-02-03 17:57:55 -06:00
AnturK 25433e05cb Fixes blood overlay layers. 2018-02-03 17:57:55 -06:00
Jordan Brown b43ec3056e Merge pull request #34915 from Cruix/flipstuff
Fixed the simple rotation component
2018-01-25 22:42:04 -05:00
Jordan Brown 31fe63bbcf Adds hotspots to chasm blacklist (#34858)
* Adds hotspots to chasm blacklist

* Blacklists landmarks from chasms
2018-01-25 09:10:07 -02:00
Ian Turk 1b35873f36 Fixed not being able to rotate anything except in the default rotation direction 2018-01-24 17:35:17 -06:00
AnturK 53909747c8 Simple rotation component. (#34476)
I'm going to port other rotations to it when i don't feel lazy.
Closes #34064
2018-01-23 21:09:15 +13:00
Emmett Gaines 3fde8a5a5d Changeling clothes blood fix (#34743) 2018-01-22 14:06:37 -05:00
Jordan Brown fec2d66318 Datum var cleanup (#34314)
* Consolidates datum var location

* Move ui_screen to /datum/tgui

* Move focusers to datum.dm. Move fingerprintslast to /atom

* Remove focusers list, makes mobs check if their focus is QDELETED in Life()

* Consolidate use_tag and var_edited into datum_flags

* Revert garbage comment

* Thought I already removed this

* Remove the var_edited preservation

* Removes focus QDELETED handling
2018-01-21 22:38:56 -05:00
Jordan Brown 3bc9b63ae6 Merge pull request #34608 from ninjanomnom/kevin-is-terrible
Fixes some dumb code in the jousting component
2018-01-19 10:03:03 -05:00
ninjanomnom f336e03054 fixes dumb jousting shit 2018-01-18 21:37:03 -05:00
ShizCalev a06044c132 Regens icons on clean_act if item is loc'd on a mob 2018-01-17 23:12:44 -05:00
oranges a19b55564f Merge pull request #34477 from tgstation/Cyberboss-patch-2
Adds component incompatible crash to root level so everything doesn't have to do it itself
2018-01-17 09:28:25 +13:00
uraniummeltdown 8d5030f3a7 rename all 'clown' to 'bananium' for bananium mineral objects (#34462) 2018-01-15 23:02:18 -05:00
Jordan Brown 9271f46f8f Adds component incompatible crash to root level so everything doesn't have to do it itself 2018-01-15 13:46:29 -05:00
kevinz000 549eec9938 Fixes component forensics deleting old instead of new component. (#34058)
* component dupe unique

* sorry I was using webeditor on phone and it wouldn't let me tab
2018-01-07 22:49:40 -05:00
Cruix 456fad4960 Made the squeek component not make things squeak so often (#34082) 2018-01-05 06:55:52 -05:00
Emmett Gaines 830929669d makes the decal component handle updating inventory icons (#33967) 2018-01-02 16:17:39 -05:00
jammer312 ff2647363c replaced all these dumb commits with one 2017-12-30 17:49:42 +03:00
kevinz000 cfc90b6712 wry 2017-12-28 12:17:03 +01:00
oranges 9d0e97fc8d Merge pull request #32311 from kevinz000/component_forensics
MoreRobustThanYou's datum forensics but it's a component this time.
Fully refactors forensics, including fingerprints, hidden/admin fingerprints, suit/clothing/whatever fibers, and blood DNA residue to /datum/component/forensics.
Adds support for manually adding fingerprints.
🆑
code: Forensics is now a datum component.
balance: NPC humans will now start leaving fingerprints on things they touch!
/🆑
2017-12-28 10:18:11 +13:00
Leo 42dff371ff Merge pull request #33820 from tgstation/Cyberboss-patch-4
Material containers only insert on help intent
2017-12-26 13:24:22 -02:00
Emmett Gaines 4595c46dca turns the baseturf var into a part time list (#33705) 2017-12-25 20:10:08 -05:00
kevinz000 05be346f8a Component Forensics, Blood Decals, and Cleaning 2017-12-24 18:19:43 -08:00
Jordan Brown 157fdc26b9 Material containers only insert on help intent 2017-12-24 14:01:34 -05:00
Jack Edge ad2bb79189 I want to get off Cyberboss' wild ride 2017-12-23 14:12:33 +00:00
Jack Edge 5811fbad84 Code review? 2017-12-23 14:12:33 +00:00
Jack Edge d16794ccb8 Code review I 2017-12-23 14:12:33 +00:00
Jack Edge 04a4a7e76b Replaces CLEAN_ON_MOVE_1 flag with cleaning component
CLEAN_ON_MOVE_1 is a flag checked on every atom movable's Moved() and
triggers a janiborg/upgraded janicart clean on the turf if present.

Replacing this with a component does the same thing and frees up a flag
slot.

Also fixes a bug where a spawned in "upgraded" janicart wouldn't
actually clean the floors.
2017-12-23 14:12:33 +00:00
ninjanomnom 00a21c94f8 renames define to UNIQUE_PASSARGS 2017-12-19 18:15:00 -05:00
ninjanomnom a93b957cb5 adds instanceless component dupe mode 2017-12-19 18:15:00 -05:00
AnturK 29c610776b Fixup 2017-12-19 11:43:36 +01:00
AnturK d87d99b2d8 Returns 2017-12-19 11:43:36 +01:00
AnturK 591db2a54d Stuff 2017-12-19 11:43:36 +01:00
AnturK 8167cd2f8c Knockoff component 2017-12-19 11:43:36 +01:00