Commit Graph

2841 Commits

Author SHA1 Message Date
Pieter-Jan Briers
43fd486f82 Adds a hook for changing view size. (#23690)
* Adds a hook for changing view size.

* """"coding standards""""
2017-02-06 01:01:12 +13:00
Cyberboss
b86e224571 Makes qdeleted and qdestroying macros (#23666)
* Makes qdeleted and qdestroying macros

* Makes QDELETED and QDESTROYING uppercase

* Swap qdel checks istype's for != null's

* Fix it

* How was this missed?
2017-02-06 00:59:27 +13:00
Joan Lung
027290de05 Ratvar-converted AIs become brass-colored, speak in Ratvarian, and cannot be carded (#23664)
* Ratvar-converted AIs become brass-colored, speak in Ratvarian, and cannot be carded

* bro you're super rogue

* that'd be smart
2017-02-04 11:34:51 -06:00
Joan Lung
1a7346c29a nobody uses this 2017-02-02 11:22:03 -05:00
Joan Lung
ad6d33400e Vanguard now shows you how long you have until it deactivates. 2017-02-02 11:19:11 -05:00
coiax
0df599a518 Transformation diseases do not change your name (#23499)
🆑 coiax
add: A victim of a transformation disease will retain their name.
tweak: The slime transformation disease can turn you into any colour or
age of slime.
/🆑

Polymorphed people keep their name, so why not transformation diseases.
And colourful slimes are fun, and the slime disease requires a high tier
of slime anyway, and if you're going to infect humans with the disease
in order to harvest slimes, then that's probably a feature.
2017-02-01 20:18:20 +01:00
oranges
773ac59ff8 Merge pull request #23514 from AnturK/mixedlisttypesneveragain
Fixes game mode odds (again)
2017-02-01 15:55:07 +13:00
Cyberboss
f11c339ebc Make progress bars stack vertically (#23516)
* Make progress bars stack vertically

* Move progress bars to the HUD layer
2017-02-01 15:54:52 +13:00
Cyberboss
a4d5579f79 Initialize Safety Cleanup (#23274)
* Better `in world` Initialization handling

Remove spawn_atom_to_world and SSobj.atom_spawners

Roll SSobj/setup_template_objects and SSobj/Initialize into new generic proc

* >BYOND

* >var names

* Defines

* Actually remove the spawn_atom_to_world definition

* A note on NOT CALLING THE BASE

* Remove set waitfor = 0

* My comments are cool

* In order to prevent just that...
2017-02-01 15:48:17 +13:00
AnturK
d816623aeb Fixes game mode odds 2017-01-30 22:27:36 +01:00
Militaires
d45092eb8a VROOM (#23311)
🆑 BASILMAN YOUR MAIN MAN
add: Added BM SPEEDWAGON THE BEST (AND ONLY) SPACE CAR ON THE MARKET.
/🆑
I PRESENT THE BM SPEEDWAGON

THE FRONTIER IN VEHICLE TECHNOLOGY, DRIVE ON THE PURE POWER OF THE STARS, RUN PEOPLE OVER, MOVE REALLY FAST DOWN THE HALL, PICK UP HOES*

this is intended for wizards at some point but ill leave that for another pr because i fear the balance meme flocks.

this was fun to make, and hopefully fun to watch operate.

eliminates #23170
2017-01-31 09:35:46 +13:00
Cyberboss
3f7f5d4000 Removes/Refactors /mob/unEquip (#22918)
* Part1

* IT COMPILES!!!!

* Fuck wait this was missing from that last

* Update handlabeler.dm

* Update handlabeler.dm

* Fixes n shit

* Fix this

* Fixes #23310

* Fucking @RemieRichards was right

* Fixes devil unEquip

* WTF ARE BITFLAGS?

* THERES THE FUCKING PROBLEM

* Fixes
2017-01-31 09:28:31 +13:00
Cyberboss
f7c9749ca0 Fixes some bad addtimer calls. Adds INVOKE_ASYNC. Replaces addtimer(..., 0) (#23424)
* Fixes some bad addtimers

* Adds INVOKE

* Warning for addtimer

* Working syntax

* Another bad call

* Fixes the addtimer warning

* Add suppress_zero_warning to addtimer

Useful for addtimer that uses vars

* Add INVOKE_AGAIN for when the var is already defined

* Replace addtimer(...,0) with INVOKE((...))

* Much more sensible syntax

* Less overhead, less copypaste

* Rename INVOKE_ASYNC

* Use a macro

* Allman style

* Wait, why make it a datum in the first place?

* Revert the rename

* Rename again, keep line endings

* typo

* More typos

* Untouches Addtimer

* Update callbacks.dm

* Update timer.dm

* Revert allman style

* Revert "Revert allman style"

This reverts commit 47361da15bd04eca138be5f13acdc9dd5ba89331.

* Trying to match that whitespace diff

* Why is this missing?

* I'm not fucking dealing with this!
2017-01-31 09:20:54 +13:00
Cruix
74f0214a14 Made temporary martial arts not override sleeping carp (#23287)
* Made temporary martial arts inherit the inability to use guns from their base martial art.

* Made sleeping carp not able to be overridden by temporary martial arts

* Made sleeping carp respect the make_temporary parameter
2017-01-30 10:04:52 +13:00
coiax
6158cf3f52 EMPing will sometimes randomly pulse wires (#22676)
* EMPing will sometimes randomly pulse wires

🆑 coiax
add: EMPs may cause random wires to be pulsed. Please ensure that
sensitive equipment avoids exposure to heavy electromagnetic pulses.
/🆑

10% wire pulse chance, maximum of 3 pulses per atom per EMP.

* Fixes runtime when EMPs pulse the airlock wire

* 33% of a wire pulse
2017-01-30 09:42:28 +13:00
Core0verload
6c2f5a4b71 Genocides "_s" in icon states (#23366)
* Genocide of "_s", part 1: mutations

* Genocide of "_s", part 2: aliens

* Genocide of "_s", part 3: augments

* Genocide of "_s", part 4: facial overlays

* Genocide of "_s", part 5: underwear

* Genocide of "_s", part 6: uniforms

* Genocide of "_s", part 7: animal body parts

* Genocide of "_s", part 8: human body parts

* Adds back icons used by hallucinations

* Changes some icon states from "broken" to "still broken"
2017-01-29 11:22:24 -06:00
Militaires
65aa7782f4 genocides riding runtimes for lzimann and fixes other issues too #23135 (#23170)
* sleepight pupper

* boop

* boom explosion habbon

* wew ladder.

kor tell me the varname cock tobbagan dont just tell me it exists and you dont poin

* bambi in spess

* more shitfuck

* GOD DAMMIT ITS GONNA BE FUCKING HOT AAA

* commit this dick you fucking tub

* GIGANTIC REFACTOR 2.0

* OH YEAH THE CREAM RISES TO THE TOP

* antur

* aaaaaa

* boat

* wew ladder

* bman

* yaaaaaaaaaaaaaaaaaaawwwwwwwwwwwwwwwwwww

* STEEL CORRIDOR

* fuck my shitfuck

* DON

* so i walk up to the police in detroit city and im like excuse me officer but im tryna find some weed, and he's like shit so are we why dont you roll with me, we'll go around pulling over some minorities

that's what im talkin about

get up in the police ride. pop a 50 oz inside, nigga we be gettin HIGH .memememememe. we be going 60 when we see a trick-ass bitch, we gonna ask a hoe to drop them titties

go cops, get the dogs, let's go storm the barber's shop

* i walk into a airplane like bro man salam this will be bumpy ride put your seatbelt on

* what about you

* BRO MAN SALAM

* boom bim bam done

* ewewewewew
2017-01-28 17:49:49 +01:00
Leo
d215e0ca4b Removes deepstorage ruin and fixes blackbox stats gathering (#23407)
* Removes deepstorage ruin.

* lziisanerd

* jordieisanerd
2017-01-28 14:28:21 +01:00
Cheridan
f81749a704 Merge pull request #23238 from kevinz000/autism_fort_1
Autism Fort Patch - Emitters and Tesla coils can now be used for DEFENDING YOUR TURF!
2017-01-27 17:44:25 -06:00
AnturK
e6169e8d42 Minor AI fixes. (#23105)
* Fixes #20469

* Fixes #9062 again.

* Fixes #10283
Laws above 20 will replace laws of same or lower importance.
2017-01-26 19:40:45 -06:00
Cyberboss
d338467755 Fixes /datum/Beam failing to GC (#23285) 2017-01-26 09:39:55 +01:00
AnturK
12978dd350 Fixes show-rev gamemode odds (#23304) 2017-01-25 09:51:19 -06:00
Joan Lung
9db41ec546 Soul Vesseled corpses can be consumed by Vitality Matrices (#23158)
* Soul Vesseled corpses can be drained by Vitality Matrices

* L.

* scarabs don't need this
2017-01-25 03:34:50 +04:00
Cyberboss
ab9f1f0448 It's 2017, time to fuck (some) spawns and cleanbots (#22801)
* Spawn -> addtimer

* Remove this unused proc

* Oh boy, there he goes touching MC again

* Remove spawn in flick_overlay

* Remove spawn in pollCandidates

* flash_color: waitfor = 0

* Don't mess with my grepping, comments

* clear_fullscreen: waitfor = 0

* Why the hell was telekinisis not using the define?

* check_for_cleanbot_bug: waitfor = 1

* Failsafe loop launcher

* assets: waitfor = 0

* Ticker nuke cleanup: addtimer

* ticker post setup: addtimer

* ticker cinematic cleanup: addtimer

* Revert "Why the hell was telekinisis not using the define?"

Handled in #22803

This reverts commit 1da293e687f1811ae69001cb02dfa6f15f451354.

* ticker maprotate: addtimer 0

* beam start: addtimer 0

* browser onclose setup: waitfor = 0

* Revert "check_for_cleanbot_bug: waitfor = 1"

This reverts commit 99e50724b3bc6a3682d042b36f97c906c7f7d96d.

* Finally remove check_for_cleanbot_bug

* browser timeout: addtimer

* deafness symptom: addtimer

* Shedding symptom: addtimer

* Animate doesn't sleep

* MSOs stuff

* > Tfw you committed without saving
2017-01-23 21:06:30 +04:00
kevinz000
d30dcb1f8c Merge branch 'master' into autism_fort_1 2017-01-23 00:38:45 -08:00
Kyle Spier-Swenson
12570805bd Closes the Pool. (#23150)
* Delete pool.dm

* Removes usage of PoolOrNew

* Wrap up
2017-01-22 16:00:23 -05:00
kevinz000
9ed64d2b1a ... 2017-01-21 19:30:05 -08:00
AnturK
8bf9491259 Fixes #17841 (#23131) 2017-01-21 19:03:08 -05:00
AnturK
78f418c33b More useful roundtype odds, take two. (#22542)
* More useful roundtype odds, take two.

* Loopdate
2017-01-21 18:56:09 -05:00
AnturK
c217069703 Fixes #23134 (#23137) 2017-01-21 18:20:08 -05:00
Cruix
15b2423f70 Fixed putting pais in bots and using mindswap improperly removing data huds (#23099) 2017-01-19 12:27:51 +01:00
AnturK
3f7ec5b8b2 Fixes held items roundstart fingerprints (#23078) 2017-01-18 13:34:56 -05:00
Militaires
980411b961 Refactors riding to a datum and applies it to vehicles, allowing for mobs to be ridden. (#22420)
* sleepight pupper

* boop

* boom explosion habbon

* wew ladder.

kor tell me the varname cock tobbagan dont just tell me it exists and you dont poin

* bambi in spess

* more shitfuck

* GOD DAMMIT ITS GONNA BE FUCKING HOT AAA

* commit this dick you fucking tub

* GIGANTIC REFACTOR 2.0

* OH YEAH THE CREAM RISES TO THE TOP

* antur

* aaaaaa

* boat

* wew ladder

* bman

* yaaaaaaaaaaaaaaaaaaawwwwwwwwwwwwwwwwwww

* STEEL CORRIDOR
2017-01-16 19:02:42 +01:00
Cyberboss
e356520624 Fixes an imaginary number 2017-01-12 14:15:14 -05:00
Cyberboss
de454f5a35 The real slips rewrite (#22490)
* Fix a bug in forceMove

Don't call Exited/Entered if the loc is the same

* Added forced_movement

* Remove usages comment

Fixed a parameters bug

* Refactor slips

* Refactors meathook

* Negative check

* Shittier syntax, more performance

* Seperation of src and args

* Sanity check

Because you know someone will fuck it up

* X to Y is inclusive

* Bettter diagonals

* Remove unused var

* Better suggestion

* This was never used, why was it here?

* Arg prefixing...

* Better cleanup

* Do not touch the self managing var

* Cleanup

* More cleanup

* Missed 2

* Added callbacks

* Fix ice again

* Sanity checks

* Applied to larva/attack_hulk

* Fix the chain's usage

* LDFJAHDJKAGFHLJKDSAGHJKLSDAGBLKJADGFHKLJADGNLKAMDFNBJK:ANFDJKLADSNLSJKDFHNASFADSFLK:AJFL:KASJFKLASJF:LAJSF:LKJASKFMSALKF
2017-01-12 13:57:23 +13:00
oranges
5c036ec48a Merge pull request #22914 from Shadowlight213/mailborgs
Fixes borg emote sounds using pitch vary
2017-01-12 13:50:20 +13:00
oranges
3ad35c23ab Merge pull request #22869 from Cyberboss/ReagentsShouldNotBeLeftNull
Moves reagents back into atoms. Fixes confusion between reagents/reagents_list
2017-01-11 12:49:02 +13:00
Xhuis
33a8e486f5 Simplifies/refactors the "Add reagent" verb in VV (#22862)
* Adds an "Enter ID" option to reagent adding

* Adds a cancel option to selecting reagent ID
2017-01-11 12:47:54 +13:00
Shadowlight213
34e4d00326 Fixes borg emotes having frequency vary set 2017-01-10 15:47:49 -08:00
Cheridan
b0e4032d22 Merge pull request #22866 from Xhuis/lavaland_bridge_fix
Fixes Necropolis bridge ruin weirdness
2017-01-10 10:29:44 -06:00
oranges
541c8ad135 Merge pull request #22845 from Core0verload/equipment_fix
Refactor of outfits datums and corpse spawners
2017-01-10 10:10:10 +13:00
Cyberboss
6e622eedd1 Moves reagents into atoms 2017-01-08 23:02:37 -05:00
Xhuis
f48971de04 Fixes the lavaland bridge issue + grammar 2017-01-08 22:44:28 -05:00
c0
0b311121d9 Refactor of outfits datums and corpse spawners 2017-01-08 10:30:31 +03:00
Cyberboss
4fc79dbb95 Refactor events to use callbacks 2017-01-06 20:35:00 -05:00
Nabski89
1124374de1 Vitiligo Level Bugfix (#22664)
🆑 Baby's first PR
fix: Vitiligo and Revitiligo were listed as level 5, but had level 4.
/🆑
2017-01-04 10:57:24 +01:00
TehZombehz
a051081a79 Fixes missing materials upon deconstruction/retrieval (#22667)
* Fixes missing materials upon retrieval

Fixes attempts to retrieve materials resulting in missing stacks if
there is more than one full stack of a material in the machine.

* Alternative Fix

This is what actually needed fixing. M.amount would always equal 0, so
round would always result in 0, thus sheet remainders would never get
outputted. This resolves that.
2017-01-04 18:21:52 +13:00
Kyle Spier-Swenson
bee4b132a3 [READY]Makes addtimer use callbacks (#22660)
* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
2017-01-04 16:02:56 +13:00
Kyle Spier-Swenson
280dbe20c3 [Ready] SSthrowing + callbacks! (#22476)
* SSthrowing + callbacks!
Throwing is now a subsystem.
It's low priority, but is a ticker subsystem so is ran before most other subsystems.
To allow for shit to run after the throw finishes, throwing now supports a callback.
A callback datum system was created, conversion of addtimer is planned for another PR.
Throwing now has a limit of 2048 turfs (was 600)
Throwing now ticks every world.tick, and properly converts the speed arg from 1ds to what ever tick_lag is.
Throwing now properly accounts for missed ticks.
Throwing no longer uses sleep.
Throwing should no longer lag since it's not filling the sleep queue up

* Smoother tentacles

* Some improvements

* Missed a spot.

* Makes shit quicker.
Inlines the thrownthing.tick() proc.
Raises missed ticks value
Lowers max dist value
Inlines the two sister overrides for /atom/movable/Moved() because that just seemed like a waste

* >PRs open that use procs i'm removing.

* STOP THE PRESSES!

* throw_at now runs the first throw tick() immediately
This will help some with throwing while running.

* Item throwing now imparts the momentum of the user throwing.

(ie, running in the direction you are throwing makes you throw faster, running away from the direction you are throwing makes you throw the item slower)

* Moves throwing momentum from carbon/throw_item to movable/throw_at.
There are other things that cause a mob to "throw" an item, I figured we keep this universal since thrower is already an arg.

* Explosions throw shit faster.
This was stupid, "Hey, lets set the item's throw_speed to 4 so embedding works, but lets make it throw at the base 2 throw speed for no reason."

* Fixes explosion embedding.
This also acts as a nice example of how to override a callback in an override of throw_at properly.
2017-01-02 20:08:03 +11:00
Mervill
466efe09f2 Updates the lavaland and space ruin blacklists with newer ruins (#22551)
* updates the lavaland ruin blacklist

* updates the space ruin blacklist

* add reminders about the blacklists
2016-12-29 22:02:28 -05:00