Commit Graph

21814 Commits

Author SHA1 Message Date
Dax Dupont cffedcf7c1 Display cases can now have a list where to randomly spawn items from (#36058)
* Adds allowing display cases to pick from a random list

Keeps compatibility with older maps and moves trophy/plaque message to all display cases

* A bit more legible

* Refactors statues tool interaction code

* Don't override it already exists

* done
2018-03-09 09:17:57 +01:00
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
vuonojenmustaturska 39360b5f10 Removes a whole bunch of nuclear emergency memes (#36215)
* Meme removal

* unneeded check with non-shuttles not being in the typecache

* Disallows space Z transit into shuttles/inside walls and rock

* Revert 'remove navigation consoles on wardec'
2018-03-08 12:44:28 +01:00
Dax Dupont 82dec54d8c Fixes meters on the RPD (#36193) 2018-03-08 05:01:46 -06:00
Qustinnus 0bc8550e1c Small moodie balance changes (#36242)
* quickfixes

* mooddefines

* im dumb

* zzz i sleep
2018-03-08 17:39:33 +13:00
Armhulen 84d4b3aae6 Mushroom people, revived! (#35858)
* caps fixed, small other fixes and mushpunch

* honey, i fixed the bugs!

* STUPID YORII DUMB GIRL STINK LEAVE

* boolean is such a fun word

* zoinks

* F_XED

* fixes part 2

* TRUEs and FALSEs

* don't drink and code boys unless you're goofball or like maybe kor

* for entirely different reasons i mean

* at what point is goofball too drunk to troll but not drunk enough to shitcode

* cool your jets, travis.

* what a TRAVIS-TY

* mush added to yet another blacklist!
2018-03-07 21:34:56 -06:00
kevinz000 28b1fb254d RND TECHWEBS: TECHFABS (#36055)
Doing my little update piece by piece because I'm lazy and because storage PR is going to conflict everything ever.

Techfabs do not link to RND consoles, and have their own interface for producing things.
RND production machinery code refactored.
Techwebs have categories views instead of just a goddamn design list.
Old machinery will be kept in, as some places will keep them. Read: Engineering, robotics, etc.

experimental: Protolathes and circuit imprinters combined/changed to techfabs. All departments can now print related circuit boards. Engineering and science will keep their lathe/imprinter design by default at roundstart because they have specialized labs for those.
2018-03-08 15:09:44 +13: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
Dax Dupont f8c5febcc8 Beacons are no longer radios (#36070)
* Refactors beacons

* Updates maps

* Done

* aaddddasddsafsdf
2018-03-07 14:43:12 -06:00
Cameron! 083eefb6b9 Adds Medical Sprays (#36081)
* Adds Medical Sprays

Medsprays are a new application method for chemicals, functioning like a multi-use patch with an internal chemical reservoir.

This allows touch chemicals to be applied more precisely and with a delay, rather than instantly and imprecisely with a spray bottle.

Pre-loaded medsprays with styptic powder or silver sulfadiazine can be obtaiend from the NanoMeds, and empty ones will spawn in the secure chemical locker.

They will also come from the medical pack from cargo.

* Update packs.dm

* Volume adjustment, attack_self addition

* Adds Medical Sprays

Medsprays are a new application method for chemicals, functioning like a multi-use patch with an internal chemical reservoir.

This allows touch chemicals to be applied more precisely and with a delay, rather than instantly and imprecisely with a spray bottle.

Pre-loaded medsprays with styptic powder or silver sulfadiazine can be obtaiend from the NanoMeds, and empty ones will spawn in the secure chemical locker.

They will also come from the medical pack from cargo.

* Volume adjustment, attack_self addition

* Adds Medical Sprays

Medsprays are a new application method for chemicals, functioning like a multi-use patch with an internal chemical reservoir.

This allows touch chemicals to be applied more precisely and with a delay, rather than instantly and imprecisely with a spray bottle.

Pre-loaded medsprays with styptic powder or silver sulfadiazine can be obtaiend from the NanoMeds, and empty ones will spawn in the secure chemical locker.

They will also come from the medical pack from cargo.

* Volume adjustment, attack_self addition

* Forgot this

* removes unnecessary/annoying check

* replaces deprecated sterilizer spray bottles on Pubby

* Applies MrDoomBringer's sprites

* new sprites, by @MrDoomBringer

* two-line shuffle

* fixes double entry

* Adds logging

* code standards
2018-03-06 13:37:25 -05: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
arsserpentarium 40781b2a5e [READY]Hostile mobs can attack assemblies (#36157)
* new fenotype

* attack

* Update items.dm

* Update assemblies.dm

* Update assemblies.dm

* Update items.dm
2018-03-05 22:01:37 +02:00
Poojawa 2e03d27a01 Tesla researchers are fixed now I swears (#36136)
* Tesla Coil path fix

Better to just force a path change to something valid than to 50/50 if it doesn't have a path, because it has a path already. Byond, you so silly.

* reeee construction memes
2018-03-05 16:23:03 +02:00
Cruix dedf5f5ed9 Disease antagonist (#35988)
* Virus antagonist initial commit

* Updated disease code

* Sentient virus improvements

* Renamed /mob/living/var/viruses to diseases, and /mob/living/var/resistances to disease_resistances

* Added sentient virus event

* Renamed VIRUS defines to DISEASE defines

* Fixed bugs in rewritten disease code

* Fixed advanced disease Copy()

* Finalized disease antagonist

* Made cooldown buttons stop processing if they are removed from an owner.
Made sentient disease active sneeze and cough not available if the host is unconscious.
Made sentient disease menu refresh when adaptations are ready or hosts are added or removed.
Made sentient disease following use movement signals instead of fastprocess.

* Added better icons to sentient disease abilities
2018-03-05 13:55:10 +01:00
XDTM 3369627000 Adds the Ancient Cloning Lab ruin (#35976)
* code bits

* map bit

* template, some changes

* var cleaning

* Lore friendly desc

* Removes brine, uses traits instead

* fix
2018-03-05 01:09:46 -06:00
Jordan Brown 12e2735122 Merge pull request #36128 from AutomaticFrenzy/patch/brainmech
Fix brains in MMIs being unable to pilot mechs
2018-03-05 00:23:42 -05:00
ACCount 18ed878cc4 Refactors construction datums into components (#35894) 2018-03-04 17:51:38 -06:00
Buggy123 82f6dfa901 Makes blood rage more clear (#36095)
* Makes blood rage more clear

* Makes blood contract more clear

* Fixes minor span class error.
2018-03-04 18:33:32 -05:00
vuonojenmustaturska c6a18a931f Implants that grant spells to their owners, for adminbus (#36116)
* badmin implants

* honk
2018-03-04 15:43:00 -06:00
vuonojenmustaturska 5460c077ef Advanced roasting sticks, for cooking sausages (#36071)
* stick

* a commit

* almost forgot something

* seems to compile
2018-03-04 22:41:16 +01:00
kevinz000 0161fc5a78 Fixes transforming weapons runtiming due to no butchering component (#36057)
* Transformation weapon fix

* Infact lets fix this too
2018-03-04 21:57:57 +01:00
Iamgoofball 5e65110b5f SOMETHING'S WRONG, I HOLD MY HEAD, BILLY HERRINGTON IS FUCKING DEAD (#36121) 2018-03-04 14:57:39 -06:00
vuonojenmustaturska 440e888c1f Clean up all sorts of crap, mostly defines (#36105)
* cleanbot

* rejuv

* more crap

* more crap

* still compiles

* clean

* is_crap
2018-03-05 02:07:27 +11:00
Tad Hardesty 7ffe0830ea Fix brains in MMIs being unable to pilot mechs 2018-03-03 14:26:47 -08:00
kevinz000 a0068f8df7 Chem implants can no longer be activated by action button (#36087) 2018-03-03 14:10:56 +02:00
Tad Hardesty ad3533e6e9 Merge pull request #36054 from AutomaticFrenzy/patch/fancy-tables-2
Fix placement of fancy tables in the editor
2018-03-03 17:31:15 +11:00
Slignerd 5fcc178daf d (#36046)
Dice icon name and desc change
2018-03-03 17:30:38 +11:00
vuonojenmustaturska f5bcee4b59 Revert "Removes the action button from chem implants" (#36084)
* Revert "Automatic changelog compile, [ci skip]"

This reverts commit 7ea6424126.

* Revert "Automatic changelog generation for PR #36021 [ci skip]"

This reverts commit a478cf0b42.

* Revert "Update implant_chem.dm (#36021)"

This reverts commit a4df56404a.
2018-03-02 12:39:36 +01:00
Nick a4df56404a Update implant_chem.dm (#36021) 2018-03-02 13:59:59 +13:00
AlexTheSysop42 1691c3c391 C4 logging now shows correct location (#36047)
* makes c4 log correct location
2018-03-02 13:56:50 +13:00
BordListian bd4b09fff2 Makes machines constructable either anchored or unanchored (#35968)
* - Makes machines constructable either anchored or unanchored if the board allows it

* - Tesla Coils connect to the network if anchored
2018-03-02 13:45:00 +13: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
Sirenfal 937ad3afc7 Antagonist reputation system (#35485)
* Implement antagonist reputation system

* Cleanup

* Quadruple point values, maybe a bit underwhelming before

* Simple feedback changes. Waiting on input on a couple questions for the other requests.

* * Comment out unnecessary variable

* Half of the requested changes (testing in game pending, standby)

* Last set of changes. This should be finished now.

* Remove line causing a warning to fix Travis build
2018-03-02 13:38:49 +13:00
Ashe Higgs d1edd8f505 Alternative PR to brass apples: Adds bronze sheets (#35874)
* Adds bronze sheets

* nope!
2018-03-02 13:35:58 +13:00
Tad Hardesty 0b336ed1fa Fix icon of black fancy table in editor 2018-02-28 16:44:20 -06:00
Poojawa 72407ee81a Fixes Cyborg Defib units (#36012)
* Fixes Cyborg Defib units

* Update defib.dm

* Fixes Cyborg Defibs

make it check for a false, not a true
2018-02-28 13:12:25 -06:00
Poojawa 0e99906e6a Tesla Corona Analyzers (#35965)
* Tesla Corona Analyzers

Generate points to make up for no bomb production on maps like Pubby

* Silly me, not Aurora, but Corona

* Adds sprites to the new mode

* new sprites! credit to... me!

* Further sprite tweaks.
2018-02-27 15:21:46 +02:00
astralloop 22ad3835e7 A Nar-Sie Plushie can be used an an extra invoker now! (#35932)
* A Nar-Sie Plushie can be used an an extra invoker now!

you can't use 9 nar-sie plushies to invoke a rune, nar-sie plushies are only counted once

* Update runes.dm

* Update plushes.dm

* Update plushes.dm

* Update runes.dm
2018-02-27 03:29:55 -05:00
oranges 1373151804 Merge pull request #35854 from ACCount12/more_tool_act
Ports more operations to "tool_act"
2018-02-27 09:29:28 +13:00
kevinz000 6c0974d1a5 Revert "Mekhi goes on the table" 2018-02-25 15:23:27 -08: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
Tad Hardesty e8acf67d60 Fix bogus var access (#35977) 2018-02-25 22:24:44 +01:00
Tad Hardesty 5e5dc32ce2 Fix N^2 behavior in roundstart logout report (#35862)
* Fix N^2 behavior in roundstart logout report

* Skip mobs which have never had a mind
2018-02-25 22:10:05 +01: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
vuonojenmustaturska 445e042a42 Merge pull request #35933 from XDTM/LessWikiMoreGame
Operating computers now display required surgery chems
2018-02-25 22:03:59 +02:00
ThePainkiller 33a54bc7bb Black Fedora opens its inventory on-click like the Detective's Fedora (#35891)
* Black Fedora opens its inventory on-click like the Detective's Fedora

Instead of having to drag the sprite to your character to access its inventory, behaves the same as the Detective's Fedora opening its container on click. Considering some dets prefer the black variation for noir flavour rather than the brown standard one they just have to pass his flask from one hat to another.
I had either this in mind or creating a new black detective's fedora variant on the det's cabinet that also had the flask inside it.

The only other item affected by this, if I'm not mistaken, is the improper CentCom hat.

* Update internal.dm

Removed the <priority> line altogether to trim the code
2018-02-24 01:09:07 -05:00
Jordan Brown 845743c1ce Merge pull request #35912 from ShizCalev/time-cleanup
Cleans up some time stuff with DisplayTimeText
2018-02-24 00:38:16 -05:00
Jordan Brown 8cefdb8d16 Merge pull request #35914 from DaedalusGame/every-bomb-is-precious-but-not-diamond-level-precious-did-you-know-that-diamonds-arent-actually-worth-anything
Readjusts doppler array formula for thermonuclear explosions
2018-02-24 00:36:04 -05:00
Jordan Brown fdeb33af3b Merge pull request #35918 from JJRcop/patch-16
removes inaccurate comment for item/proc/equipped
2018-02-24 00:33:00 -05:00