Commit Graph

3673 Commits

Author SHA1 Message Date
Emmett Gaines d17d09cb1b Radiation makes you vomit blood and more balance changes (#31753) 2017-10-18 10:24:09 -04:00
AnturK bfc5a2cca8 Datum rev & related upgrades to base datum antag (#31630)
* Datum rev & related upgrades to base datum antag

* Actually starts objective tracking

* Grammer & clumsy removal things

* unifies file names

* Fixes heads displaying in every mode

* This is why i ask for reviews

* KILL ME

* proper antag detection

* Fixes admin de-revving

* Sanity

* Fix conflicts

* Fixes instant roundend

* Fixes flashes

* Waits until setup is done to declare roundend.
2017-10-18 20:25:42 +13:00
Leo c1450bbdc1 Merge pull request #31809 from ShizCalev/helper-cleanup
Cleans up some istypes not using helpers
2017-10-17 22:20:42 -02:00
Leo b92cdfc2c1 Merge pull request #31772 from optimumtact/badshit
Add a safety check for usr in airlock shocking
2017-10-16 19:21:15 -02:00
ShizCalev 721df8dacf Cleans up some istypes not using helpers 2017-10-16 15:30:30 -04:00
AnturK ea04635e08 Fixes apprentices in check antags/roundend list 2017-10-16 12:45:56 -05:00
kevinz000 64851d819a Moves projectile processing to a subsystem (#30599)
ITT worst coder tries not to break everything and improve the code.
fixes #29211
🆑
refactor: Legacy projectiles have been removed. Instead, all projectiles are now PIXEL PROJECTILES!
rscadd: Reflectors can now be at any angle you want. Alt click them to set angle!
/🆑

Also lets just
fixes #18133
because the shortest path from point A to B is a straight line, when projectile ranges are "number of times moved/processed" ofcourse it's going to be shorter if you fire diagonally. It will be a problem as long as range is done like that or if range are in "pixels/tiles" moved without outright using get_dist.
2017-10-16 15:50:42 +13:00
Jordan Brown 7c1276f20f Fixes emotes not checking the right turf (or any turf for that matter) (#31735)
* Fixes emotes not checking the right turf (or any turf for that matter)
2017-10-15 20:40:56 -04:00
Jordan Brown 04c05d8e5c Adds defines for organ slots (#31737) 2017-10-15 20:33:35 -04:00
AnturK 02e1407269 Adds logging crew manifest to seperate file (#31665)
* Adds logging crew manifest to seperate file

* Coding blind

* i can spel words

* Not everyone in the lobby please.

* Proper header

* Fix

* Better format
2017-10-16 08:56:35 +11:00
oranges 4cc3c80e4f Add a safety check for usr in airlock shocking
This fixes a runtime caused when usr is null or zero and shock is still
called.

This is a hack and illustrates why use of usr is considered bad practice
2017-10-15 21:20:10 +00:00
WJohn 56c0f7aad2 Readds the boxstation whiteship as a ruin. (#31709)
* Adds box's whiteship back as a broken down relic.

* And accompanying files to make it work.

* Derp
2017-10-15 12:31:20 -04:00
kevinz000 b83d777119 Removes a bunch of sleeps/spawns and makes a few booleans defines (#31553)
* spawn/sleep removal part 1

* sleep/spawn/src. removal

* fixes type paths in timers

* Fixes some variable passing

* Why do I have to do this 20 times to get it right..?

* Why do I have to do this 21 times to get it right..?

* Update suicide.dm

* Update software.dm

* Update paper.dm

* Update cable.dm

* Update ninjaDrainAct.dm

* Update hypospray.dm

* Update vocal_cords.dm

* Update touch_attacks.dm

* Update revenant_abilities.dm

* woops

* Update revenant_abilities.dm
2017-10-14 19:53:17 -04:00
Emmett Gaines 9d17e9c102 Fixes camera mobs becoming contaminated and other tweaks (#31731) 2017-10-14 19:39:51 -03:00
kevinz000 8d647ff524 Flying mobs now clip past non flying mobs, various flightsuit/iontrail/movement tweaks/code improvements/bugfixes (#30570)
* this will end horribly

* s

* kek

* wew

* i dont know what an atomized pr is

* lets hope this doesnt blow up

* ok

* Update living.dm

* Update flightsuit.dm

* Update living.dm

* Update living.dm
2017-10-13 18:09:20 -06:00
Emmett Gaines 456cd10d94 Radiation rework and subsystem (#30909)
* radiation rework and subsystem

* moves a few things to initialize and adds radiation insulation

* adds a radiation contamination mechanic and makes requested changes

I'm terrified by the possibilities from this

* radiated objects give off light

and hopefuly contamination is balanced

* fixes runtimes and an mc crash kek

removed the lighting part of contaminated objects
attempted some more balancing

* Collectors output power in process() gradualy

And some more balancing tweaks

* Excludes a bunch of things from becoming radioactive

* Ready for testmerge balancing

* Inverse square law was swapped

* testmerge balancing

fixes the geiger counter
buffs collector power gen
nerfs sm radiation
slightly buffs rad insulation
nerfs rad damage (and its burn)
raised the minimum radiation

* disabling the radiation subsystem won't build up rad wave datums forever

* rewrites how mobs handle radiation

upgrades geiger counter functionality
and more balance tweaks

* cleans up stuff and removes debug message

* Slight contamination buff

* Major rad wave performance boost

Also improves rad insulation
Buffs contamination, again

* Fixes insulation runtime

More balance and performance tweaks

* fixes rad collectors not receiving power

* The final balance commit

Fixes a major bug causing radiation to underperform
More geiger counter changes that will be changed more to add sounds

* Monkey business

* Geiger counter sounds

* cleanup and move components to their own initialize

* Some code cleanup

And forgotten changes

* Cleans up some trailing returns

* Mapping changes
2017-10-13 10:22:00 -04:00
Jordan Brown 9a91eeb489 Add require_comms_key = TRUE to some topic that need it 2017-10-12 13:22:32 -05:00
Jordan Brown d40722a749 Fixes adminwho having namecheck as a keyword 2017-10-12 12:22:24 -05:00
Jordan Brown 9c190eb3c7 Fixes topic key validation 2017-10-12 12:22:04 -05:00
kevinz000 f0670b743c Update material_container.dm (#31555) 2017-10-12 17:38:07 +02:00
Jordan Brown 0193bdd668 Datumizes world/Topic (#31543)
* Datumizes world/Topic

* active_players requires comms_key
2017-10-12 14:46:51 +13:00
oranges 515428f63f Merge pull request #31500 from Armhulen/patch-7
sleeping carp grabs now put out a message
2017-10-12 11:09:48 +13:00
duncathan salt 454d16fe32 Minor refactor of how gas IDs are handled (#31528)
* gas IDs -> gas datum paths

* updates parse_gas_string() to handle both paths and IDs

* fixes compile errors

* fixes parse_gas_string() ignoring amounts of gas

* fixes roundstart jetpack runtimes

* fixes filters

* fixes map-edited filters

* fixes empty canister runtimes on initialization
2017-10-11 15:04:12 -04:00
Robustin 00b694b07a Fixes explosives in bags not exploding (#31516)
* Fixes most bomb in bag issues

* Update explosion.dm

* Added gib argument

* Typeless loops

* No more touching gib code

* Update death.dm

* Update death.dm

* Update death.dm

* fucking whitespace

* Contents are now exploded before gibbing

* severity
2017-10-11 11:00:19 -06:00
AnturK e8ff73edef Datum antag wizard. (#31449)
* Wizard datum

* This can go in this one actually

* Old proc

* Delete equipment

* Academy wizard datum

* didn't notice the spawn before

* otufit

* Some special_role removal
2017-10-11 23:23:26 +13:00
Jordan Brown 189ed58a42 Merge pull request #31494 from MrStonedOne/tick_contention_tug_of_war
In which the stoner one gets stoned and tries to address tick contention... again
2017-10-10 14:27:59 -04:00
AnturK 22e1505d1d Fixes headrev TP (#31462)
* Fixes headrev TP

* Mhm
2017-10-10 14:19:24 -04:00
MoreRobustThanYou 34d22ccde6 Diseases will now cure if species is changed (#31495)
* Diseases will now cure if species is changed

* Update _disease.dm

* Update _disease.dm

* Update species.dm
2017-10-10 13:41:00 -04:00
kevinz000 3d39ad3501 Allows you to choose how much to insert into protolathe/exofab/circuitprinter/dronedispenser (#31399)
* precision

* precision

* sanity checks

* itt kevinz doesn't know how cyberboss procs work

* fixes

* allows user cancellation

* im dumb

* itt: im still dumb

* fixes stuff, makes it set on init

* refactors reagentgrinder code

* more fixes, prevents melee attacks from going anyways

* ...? wtf is with usetopic

* Finally found out what's wrongw ith this thing.

* fixes a mistake
2017-10-10 21:11:22 +13:00
Armhulen f73c003bd2 a fix is a fix 2017-10-09 07:20:31 -07:00
XDTM db0c10ea58 Refactors virus spreading (#31066)
* Refactors virus spreading

* Cyberfixes

* Bump to infect

* proper shoe protection

* Split ContractDisease

* Makes virus severity matter

* oops

* Virus severity changes

* defines

* infective_floor --> infective

* Fixes vomit and pulling infection
2017-10-09 14:08:21 +02:00
MrStonedOne c8bb13d7c2 In which the stoner one gets stoned and tries to address tick contention... again
Tick contention is when the mc, sleep()/spawns(), and byond internal processing fight each other for game tick time. Usually in an unproductive way that wastes cpu cycles and reduces the effective amount of game tick to go around.

Tweaked the anti-tick contention heuristics of the MC a touch.

Fixed an incorrect operator in the mc's anti-tick contention heuristics causing it to apply in times of no lag rather then times of lag.

The mc's anti-tick contention heuristics now plays better with the high pop processing mode.

We no longer reserve the tail end of a tick for the mc to have if the mc doesn't plan to run next tick because of high pop mode or anti-tick contention heuristics.

stoplag() can now be given an initial delay allowing it to act like a smarter sleep (in that it sleeps for longer if the server is overwhelmed.

All short sleeps that only existed for performance reason and had no game play, visual/audio, or balance reasons behind their timing were converted to stoplag().
2017-10-09 01:21:43 -07:00
XDTM 1940af072e Fixes Start() of symptoms still working when neutered (#31435)
* Probably fixes neutering bugs

* Proper targeting for healing

* Fixes itching affecting roboparts

* Start fix
2017-10-08 20:10:17 -04:00
vuonojenmustaturska 1768ff8b51 Prioritizes the PDA pen as a traitor uplink location when the pen is selected (#31434)
* you too can be a commit

* requested changes
2017-10-08 20:09:40 -04:00
Robustin 063a2667f9 Virus Neuter Fix (#31392) 2017-10-07 19:01:30 -04:00
XDTM fcbeedeaf2 Miscellaneous virus fixes (#31391)
* Probably fixes neutering bugs

* Proper targeting for healing

* Fixes itching affecting roboparts
2017-10-07 19:01:03 -04:00
Jordan Brown b6d349e1d4 Remove drop_item, drop_item_v, put_in_hands_or_del (#31386) 2017-10-07 13:36:33 -04:00
Robustin 9837897b2c Emotes now shatter 80% less immersions (#31240)
* Emote Checks by Default

* Removes emote argument

* More emote fixes

* Overhauled emote check

* Closed Spans
2017-10-05 16:10:47 -04:00
Jordan Brown d3dcc118ec Merge pull request #31340 from Firecage/codeshitnotshit
Does some code standardization/consistency.
2017-10-05 15:53:11 -04:00
XDTM 35d8a55926 Adds H.E.C.K. suits, spraycan_paintable component, and reworks item's attackby() (#30525)
* Adds hostile environiment suits

* NOBODY SAW THIS

* the CURSE

* c

* No more stun removal

* fix

* a

* in the chest

* back

* Fixes

* duh

* fucking helmets fucking secbots fucking past coders

* yeah

* REEEEE

* revert to here

* this better work

* cyberboss

* Update effects.dm

* check for charges

* B U L K

* spraycans

* READY

* the if, man

* why the fuck did it convert to spaces

* Fix it
2017-10-05 11:52:47 -04:00
Leo f6a3354498 Merge pull request #31294 from YPOQ/sciencetoolfix
Fix abductor scientist being unable to use science tool
2017-10-05 08:49:00 -03:00
Firecage ee3e8d2846 merge conflict fix 2017-10-05 11:22:57 +02:00
Firecage 2ae0380fef Does some code standardization/consistency 2017-10-05 11:13:47 +02:00
ShizCalev 0ae5cd2d97 Cleans up and fixes old landmarks 2017-10-03 23:38:59 -04:00
YPO 8f787a68f1 Fix abductor scientist being unable to use science tool 2017-10-03 21:34:23 -06:00
AnturK 72f711cc70 Fixes mech fab runtime (#31232)
* Dunno what the initial was about, it's a list.

* Proper fixup

* Typo
2017-10-04 12:18:58 +13:00
oranges 47a74d8cf3 Merge pull request #31135 from KorPhaeron/unconvertable
Adds a var to minds that makes them immune to conversion
2017-10-04 12:14:32 +13:00
KorPhaeron 380413fb8b Ports dash weapons to the dash datum (#31222)
* Dash katanas

* Properly assign the action

* Speaking of copypaste

* Its own file
2017-10-04 12:10:39 +13:00
KorPhaeron cc309236d9 ismecha define (#31192) 2017-10-02 02:03:40 -04:00
Joan Lung ef7ac190f3 Fixes Vanguard never stunning for more than 2 seconds 2017-10-01 19:29:34 -05:00