Commit Graph

6066 Commits

Author SHA1 Message Date
Kyle Spier-Swenson
0fa87b7bbd [s]Throttle mind notes (memories) (#45555)
* Throttle mind notes (memories)

Some dipshit is spamming this on ss13 servers

Limits to 100 times the message limit (removing old text after that), and one call every 5 game seconds.

* Throttle at the right place

* Not here

* We really need a generic throttler solution
2019-07-29 09:09:33 +12:00
nemvar
6755ba7488 Fixes some issues with the butchering refactor 2019-07-28 21:32:00 +02:00
nemvar
15c6dcc322 Switches some values around 2019-07-28 18:13:30 +02:00
nemvar
fb44479c0b Fixes the math 2019-07-28 01:00:43 +02:00
nemvar
091f221fe6 Fixed mood for real 2019-07-28 00:48:07 +02:00
nemvar
214a3d452a In how many ways can this be broken? Find out next time! 2019-07-27 23:58:11 +02:00
nemvar
f7c9751d69 Removes some istype(src) stuff 2019-07-27 22:55:49 +02:00
nemvar
449e5d38e6 This turns butchering into something that resembles a component. (#45299)
* This turns butchering into something that resembles a component.

* Changes how the recycler works.
It no longer uses butchering in disgusting ways.

* I guess this works? It's not pretty though.

* How the fuck...
2019-07-26 23:57:37 -07:00
Time-Green
d4bfdd2a40 Plumbing: Chemical Acclimators (#45243)
* Finishes pump and fixes visual bug with disconnecting plumbing objects

* More bugfixes, finishes liquid pump

* Chemical synthesizer, wrench signal to handle unwrenching

* adds input and output pipes and changes ob into obj

* dmdocs all of plumbing through proper means

* adds sprites by meyhaza

also added wrenching interaction and fixed a dumb dumb with me fucking up an object path

* brightens the sprites a little by me

* removes big select from synthesizer ui

* update tgui.js thing

* unfuck pump color

apparently the replace all of spriting has downsides

* chemical acclimator

only heats and cools but i gotta commit and do other stuff

* finishes chemical acclimators

* uodates .dme

* updates .dme again

forgot plumbing component
2019-07-26 17:43:45 -07:00
skoglol
718973fb9f Removes the assimilation/hivemind gamemode (#45316)
* Initial pass

* comment.

* stray ,

* stray define begone
2019-07-27 00:08:53 +02:00
Rob Bailey
c62b789bb3 Refactoring and runtime fixes for junkie and smoker (#45394)
* Revert "Revert "refactors + fixes""

This reverts commit b87884f4a3.

* small fixes
2019-07-26 13:43:24 +02:00
oranges
14fcef698e Add autodoc to the callback datum (#45463) 2019-07-26 02:19:51 -07:00
nemvar
1428679249 Reworked Legion feat. vectors and lazy sprites. (#45227)
* One

* adds the attack for megafauna.

* saves a few lines of precious diff

* return

* slightly uncurses it.

* That's a lotta damage

* Legion buffs

* There we go. Audio feedback and stuff.

* Untouches code this has no buisness touching,

* Removes mean comments

* comment spelling

* Alright, this replaces the process.

* Removes the unneeded file
2019-07-26 10:54:09 +02:00
tralezab
64550884fa [READY] Ian's Birthday Holiday (#45356)
* ian's birthday

* missing )

* hop shirt + bday cake is on front desk

* confetti 1/2

* confetti 2/2

* corgi balloon, hop gets a knife to cut the cake

* forgot knife + inhands + mapping

* oranges review, old var removed

* oranges request ;)
2019-07-25 23:23:53 -07:00
nemvar
5d804ad82f Signals for tool acts. (#45263)
About The Pull Request

This PR adds signals for all basic tool acts.
Replaced signals places where it's appropriate.
Why It's Good For The Game

It's kinda dirty how we used to do attackby and then check for tool behaviour. Since we now have stuff like plumbing and possibly that one laser PR, we need signals that directly relate to tool behaviour.
Changelog

cl
code: Added signals for all basic tool acts.
/cl
2019-07-26 09:47:22 +12:00
nemvar
87f080bfbb Sanity is now capped. (#45410) 2019-07-25 14:06:36 +02:00
oranges
d17df96091 Document the outfit datum with autodoc (#45415) 2019-07-25 02:49:39 -07:00
nicbn
44a07d712d BoH bombing rework II (#45174)
Ever since the big BoH nerf, BoH bombing is kind of a joke. The damage it does is not really huge, and it's lame for traitors - it lacks emotion and their target may not even die, as they can use the ladders to get away.

So, what this does is add back some soul into BoH bombing, while not making it too round-ending and adding some degree of damage control for admins in case of griefing.
When BoH bombing, a stationary singulo with custom sprite will spawn. Its gravitational pull is REALLY strong, so people near it are probably going to get eaten, and there will be some real damage to the hull. The singulo will cease existing after 5 seconds.

For antags, I think this becomes much more interesting than the current BoH bombing. In the case of griefers, the damage to the station isn't too big because the singulo is stationary and fades away after some seconds. And then, admins can click a button in their chat to bring back everything the singulo ate into the game (the button expires in 10 minutes, however, but this can be changed if you think it is needed).

Settings like gravitational pull can be tweaked if yall find it to be too strong or something.
Changelog

cl
tweak: BoH bombing changed again. Now it's more violent.
/cl
2019-07-25 21:18:01 +12:00
oranges
886cbc41aa Merge pull request #45454 from Qustinnus/fixmats
fixes some minor material bugs
2019-07-25 21:12:04 +12:00
nemvar
0dca7122b6 Some stealth box changes (#45332)
About The Pull Request

Table of contents:
You can no longer deploy the box while you are inside of something. Fixes #45288
The box should no longer get hard deleted when someone else opens it.
The box now alerts people to you, even if you are the one who opened it.
Why It's Good For The Game

First one is obvious, exploit bad. You should just teleport out of mechs and welded lockers.
Second one also obvious.
Third one is because I did that on accident while testing and found it very flavourful. Feels a lot more like a sneak box if you always get the reveal animation with the red exclamation mark.
Changelog

cl
fix: You can no longer activate the stealth implant while inside of other objects.
balance: Leaving the stealth box always alerts nearby players.
/cl
2019-07-25 16:25:10 +12:00
Floyd
fcd855ea70 fixes 2019-07-25 00:21:18 +02:00
SgtxRootbeer
63d32fb1bd Removes trekchems, adds new catagory 2 chems. cobby-approved. (#45105)
* Add files via upload

* Update Sleeper.dm

* Update borghydro.dm

* Update robot_upgrades.dm

* Update buffs.dm

* Update medbot.dm

* Update snacks_other.dm

* Update snacks_other.dm

* Update medicine_reagents.dm

* Update medicine.dm

* Update chem_synthesizer.dm

* Update hypospray.dm

* Update snacks_other.dm

* Update snacks_other.dm

* Add files via upload

* Update snacks_other.dm

* Delete ambrosia.dm

* Delete cannabis.dm

* Add files via upload

* Update buffs.dm

* Update medicine.dm

* Update medbot.dm

* Update Sleeper.dm

* Update medbot.dm

* listen, i know what this looks like

* yes, i did this in the webeditor

* Update medicine.dm

* Update medbot.dm

* Update borghydro.dm

* Update Sleeper.dm

* Update robot_upgrades.dm

* Fixes metabolism rate

Don't tell cobby I did this one on my phone

* Updates metabolism rate for real

* fixes spelling errors

* Add files via upload

* Update medicine_reagents.dm

* Update medicine_reagents.dm
2019-07-24 12:18:11 -04:00
Qustinnus
b33d1c49a3 [READY] Floydmats (Datum materials) & custom toolboxes (#45118)
* Initial work

* more

* ass

* wsedfwedff

* asss

* test

* stuff

* fuck

* sss

a

* kms

* asdadwedwdfwefwef

* start

* test

* dwwdew

* ewefwfef

* Redemption machine (#8)

* Redemption machine

* Removes debug messages

* changes

* fuckmyshitup

* coin mint works with new material shenanigans (#10)

* Auto stash before merge of "materials" and "origin/materials"

* woops

* furnace (#11)

* autolathe manufacturing of toolboxes

* eggs in a basket

* some small changes

* matcolors

* documentation

* more documentation and effects

* done

* Color man bad (#12)

* fixes designs

* ass

* more fixes

* fuck me

* firestacks adder

* epic fixes

* fixes designs

* DONE DIDDILY DOO

* removes category macro

* ch-ch-ch-changes

* fixes some stuff

* Fixes display of ore values (#9)

* Redemption machine

* Removes debug messages

* Re-adds value display

* Replaces the fire stacking component with an element instead (#13)

* fixes examine

* fixes ligma bugs

* double ligma boofus

* fix

* misses some defines

* fixes ORM

* Update code/datums/components/material_container.dm

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* fixes

* Makes glass objects weaker (#14)

* Makes glass objects weaker

* uses correct proc

* fixes shit

* honk honk

* better

* oh shit oh fuck

* fixes

* fuck ORMs

* fixes the biogen

* documentation

* ass (#15)

* component

* changes

* ass

* ass

* doc

* Auto stash before merge of "materials-plasmacomponent" and "origin/materials-plasmacomponent"

* fixes rounding

* fixed
2019-07-24 11:27:01 -04:00
TheSilverNuke
66badb7037 Minor Virus Symptom Stat Change (#45375)
About The Pull Request

Adjust some symptom stats to allow some combinations of viruses that were previously impossible to be possible, allowing for greater creativity when creating various diseases.
Why It's Good For The Game

Instead of traitor virologists spamming ARDS, I would like to see some unique combinations that were previously unseen to be made. I adjusted some stats of lethal symptoms, but also adjusted the stats on a couple stat boosting ones, to buff the other side of the spectrum.
Changelog

cl

add: two transmission to choking
add: one stealth to hallucigen
add: one transmission to necro fasciitis
add: one stage speed to shivering
add: one stage speed to spontaneous combustion
add: one transmission to vomiting
remove: one stage speed from vomiting
remove: two stealth from spontaneous combustion

/cl
2019-07-24 19:47:24 +12:00
Akrilla
1a5c13bf53 Contract reinforcement antag datum + round end (#45289)
* wip

* antag datum + round end

* custom objective

* bold

* cache check?

* bar

* remove dumb amounts of spacing

* same letter case

* fixup

* no ckey()
2019-07-23 21:33:27 +02:00
bgobandit
f2fad8fcca Replaces vitiligo, revitiligo with two new symptoms: disfiguration and polyvitiligo. (#45297)
* Replaces vitiligo, revitiligo with polyvitiligo (adds colorful reagent) and disfiguration symptoms.

* honk

* makes requested changes and changes colorful reagent to crayon powder

* blacklists the crayonpowders that make you invisible or do nothing

* adds message to disfiguration apply
2019-07-23 12:52:25 -04:00
Time-Green
d18fe2101a [READY] Plumbing improvements and chemical synthesizers (#45185)
Removes dumb visual bugs.
Put the copy pasted wrench stuff for disabling and enabling the component, in the component using a new signal from default_unfasten_wrench.
Add a general plumbing machinery subtype. Right now it's mainly for cataloging.
Adds the chemical synthesizer. You can select a single chemical and an amount between 0 and 5. It will produce it every tick. Should be combined with other synthesizers to create meth factories.
Makes the liquid pump a fully functioning machine.

cl
add: The station comes one step closer to plumbing with the introduction of the chemical synthesizer.
sprite: sprites for the synthesizer, input and output commissioned by @Meyhazah
/cl

I wanted to do all the plumbing basic equipment at once, but stuff like plumbing heaters is gonna be ugly if I don't rework them completely and I don't wanna scare the maintainers away.

There is slight copypasting from the chem_dispenser and with the chem synthesizer, but having it be inhereted would be a worse clusterfuck IMO.
2019-07-23 21:22:16 +12:00
actioninja
b87884f4a3 Revert "refactors + fixes"
This reverts commit 5ed2e36d80.
2019-07-22 23:30:23 -07:00
actioninja
5ed2e36d80 refactors + fixes 2019-07-22 23:29:17 -07:00
Akrilla
c914d556c1 Give blood brothers traitor HUD (#45295)
* Give blood brothers traitor HUD

* Give teams the ability to have their own huds

* fuck huds

* Team HUDs

* var
2019-07-22 16:48:37 -07:00
Qustinnus
41dcc97c7d Fixes sanity going up to 125 when mood is neutral (#45338)
* fixes

* var
2019-07-22 16:45:11 -07:00
nemvar
7ba60de3d6 Aheals now fix addictions and sanity. (#45329)
* Aheals now fix addictions and mood.

* Does it properly. Now uses a signal to detect the aheal.

* Removes a getComponent in living and puts that shit into the mood component.

* Fixes a small oversight with where I placed the moodie purge.
2019-07-22 15:42:30 -04:00
tralezab
3b49b5378d Yet Another Fugitives PR: Bounty Hunters, Features, Fixes, Treason, Removals! (#44802)
* mostly fixes in this commit

* removes old_god from the dme

* russian shuttle improvements

* TODO: fix the hook gun

* shotgun finished, next commit shuttle

* bounty hunting shuttle

* back up to speed on the dmis

* readds poster 46 and adds the shuttle finally

* dmi fixes

* traps need fixing, work out whatever is happening with synths

* super final touches, see desc

map ports + proper spawners, pinpointer and traps functional. other misc changes

* removes verb stuff from non verb stuff

* review (see desc)

antimagic checks and it now the two objects move inside each other instead

* dmi conflicts

* PLUNGERS. BEGONE.
2019-07-22 20:00:34 +02:00
skoglol
c5d6a521e7 Removes the overthrow gamemode (#45312)
* Removes the overthrow gamemode.

* Woops.
2019-07-22 01:10:02 -07:00
nemvar
876db778a7 Durathread and loom changes. (#45261)
* Reworked loom and cloth

* newline

* Removes unneeded .=

We were returning TRUE regardless.
2019-07-21 17:40:00 -07:00
skoglol
7b65de3c82 OnAdd runs all the time now. (#45270) 2019-07-21 15:10:44 -07:00
nemvar
bf7ff36c86 More robust dorfs. (#45304)
* Matrix magic.

* MANLY DORF
2019-07-21 15:08:29 -07:00
nemvar
a176d30579 Fix moodie icon being wrong at roundstart (#45283)
Fixes an issue related to mood. They had the wrong sanity icon when 
spawned in. Yes, two is correct. Having exactly SANITY_NEUTRAL (100) 
will result in slightly positive sanity.
2019-07-20 16:41:35 -07:00
MMMiracles
353457f7d5 Donutstation Tweaks (#45250)
About The Pull Request

    Fixes #45077
    Fixes #42498
    Removes every single instance where a grille could end up on top an active wire in maintenance, making traveling maintenance a lot less of a hassle and less dangerous in general.
    Maintenance bar has been removed due to redundancy and closeness to the actual bar. Wait till season 10 of SS13: Battle Royale to find out what exciting changes will come to the map!
    Space-proof variants of the lizard critter has been added and are working diligently on the above-mentioned bullet-point.
    As part of the white shuttle fix, Donutstation now has a custom shuttle with deep l o r e to explain what happened to the long-past crew.
    Small adjustments to the static loot part of the 'excess storage' rooms near departments.
    Some extra crates has been added around maintenance with respective maintenance loot spawners.

Why It's Good For The Game

Bug fixes relating to the map and some added map content to keep things 'fresh'.
Changelog

cl MMMiracles
add: Donutstation now has its own white shuttle with proper dock.
del: Donutstation's maintenance bar is under renovation.
tweak: Due to above renovations, the goose is temporarily loose.
tweak: Donutstation now has significantly less annoying maintenance grilles
/cl
2019-07-19 23:11:57 +12:00
XDTM
df501cdb12 Adds two new traumas, Mind Echo and Existential Crisis (#44865)
About The Pull Request

Re-opening of #42644

Adds two new traumas in the trauma pool.
Mind Echo: a mild trauma that records what the patient hears and says, and occasionally replaces heard or spoken messages with one of the recorded ones.
Existential Crisis: a special trauma that causes spontaneous temporary non-existence, which works like a desynchronizer does.
Why It's Good For The Game

More variety in traumas!
Changelog

cl XDTM
add: Added two new traumas in the trauma pool: Mind Echo (mild) and Existential Crisis (special).
/cl
2019-07-19 22:45:47 +12:00
nemvar
cd9b898ef4 Cleans up sleeping carp exclusive code in human_defense.dm (#45132)
* Cleans up sleeping carp exclusive code in human_defense.dm

* BULLET_ACT_HIT
2019-07-18 20:58:36 -07:00
Mickyan
e26abb7047 Random pixel shift for dropped/thrown objects (#45155)
* pixels

* offset for any throw, critical bedsheet bugfix

* nyeh

* might as well (autodoc)

* renamed proc

* removed redundant src

* moved call from dropped() to dropItemToGround()

* handles storage dumping, customizable max offset

* adjusted values

* inline
2019-07-16 00:51:17 -07:00
Emmett Gaines
2dee1d037d Add autodocs and linting tags to elements (#45189) 2019-07-15 18:14:21 -07:00
Emmett Gaines
c25459d938 Adds SHOULD_CALL_PARENT to Destroy() (#45188)
Timers, signals, and components need to know when the thing they're 
attached to is getting destroyed or bad things happen. Since any datum 
can make use of these every destroy needs to call parent.
2019-07-15 18:13:48 -07:00
skoglol
79f9289eba Sentient disease cures consistently harder, fixes uncurable diseases (#45148)
* Sentient disease cures consistently harder.

* Some comments.

* comment update.
2019-07-15 15:34:45 -04:00
Akrilla
4dda76b8f1 [READY] Contractor Hub (#45117)
* Contract Hub + Pinpointer + more contracts

* Show rep

* Better errors

* Dynamic hub

* Bug fixes

* Show items

* No html in desc

* compile

* contractor support

* limit

* allow limits of 1

web edit

* Equip and send partner + turf helper

* working reinforcements

* Cleanup

* removing debug

* blackout

* test

* Working buttons

* no debug

* prelight

* finalized interface

* better fit

* hub icon

* conflict

* text

* error

* kit tweaks

* items

* fixup

* fixup

* bugfix

* ui fix
2019-07-15 20:36:54 +02:00
Alek2ander
e6d468eb61 Wallet QOL improvements (#45178)
* Wallet name includes displayed ID
Adds Alt-click to remove it

* Use regular altclick if it's in storage
2019-07-15 02:57:17 -07:00
Rob Bailey
c12ccbcc4f Tiny sound code tweak for bleed status effect (#45162)
I forgot to request these changes before merging the blood stack 
changes. Just changes the sound volume to 100 (it's capped to this 
anyways), and replaces the 1 with a TRUE def.
2019-07-14 13:07:05 -07:00
Hulkamania
dcc9065fd4 Add a new Emergency Shuttle, Transport Zeta (#45100)
Adds a new abductor themed shuttle to the game, available for 8k 
credits! The shuttle is only unlocked after alien technology has been 
researched!

The shuttle offers some unique items and layout compared to others 
currently available. Two singular entrances with the brig in the back 
means security needs to walk prisoners to the brig area to secure them. 
Unique unlock mechanism encourages either bringing alien tech back from 
Lavaland or stealing some from an abductor.

A few unique items aboard, including alien tools, the experimental 
cloner, and a void core can provide interesting opportunity if utilized 
in the window of time that the shuttle is on station.
2019-07-13 19:58:13 -07:00
py01
cb03a28a4b Stacking Status Effects (#44964)
* magic numbers in saw_bleed moved to class definition

* more saw bleed abstraction

refactors p2

various stacking effect refactors

saw bleed refactors again

moves stacking status class to status_effect.dm

misc stacking changes and documentation

reverts saw_bleed functionality to original

better var names, var name fix

removes extra proc

more sane handling of application

removes unused define

changes saw bleed back to original form

* another proc that can be ovverriden for falling stacks

* fixes path

* simpifies some checks

* feedback fixes

* spelling
2019-07-13 03:03:38 -07:00