Commit Graph

9489 Commits

Author SHA1 Message Date
KorPhaeron
2490d201a9 Missing Return 2017-05-02 11:49:29 -04:00
KorPhaeron
3a7d424005 Curator Update 2017-05-02 11:21:54 -04:00
Leo
3b9b4e0755 Changes a bunch of hrefs to the proper defines (#26760) 2017-05-02 01:19:51 -06:00
Really-Good-Soda-Flavor
a0459ad410 Moves playsound_local() to mob and gets rid of a useless proc. (#26726)
* playsound_local to mob

* Suggested change
2017-05-01 20:01:55 -06:00
Profakos
c4320ee111 Adds persistent trophy cases (#26745)
* Persistent trophy cases

* QDEL_NULLs, TrySaveTrophy

* Breaking tweaks

* Persistence tweaks, moves the alert message

* JSON format and ckey logging

* Showpiece dummy

* Better illegal check
2017-05-01 16:31:06 -06:00
Jack Edge
44991e125a Removal of checks II
- VR sleepers are human only.
2017-05-01 19:01:16 +01:00
Jack Edge
7cb8007556 Changes /obj/machinery to have atom/movable occupants
Currently `occupant` in /obj/machinery is a /mob/living type. I have
changed it to /atom/movable, and made a type cache to determine what to
"look for" when `close_machine()` is called.

This means that machines can have non-mob occupants. I have some design
ideas for this, but that's after the freeze.
2017-05-01 19:00:07 +01:00
Joan Lung
57f8e92957 Proselytizers can now charge from Sigils of Transmission, and Sigils of Transmission can be charged with brass (#26725) 2017-05-01 00:23:50 -03:00
Cyberboss
453b3ecb23 Ports chem grenades to Initialize (#26678) 2017-04-29 15:12:39 +02:00
oranges
47e0fd7283 Merge pull request #26658 from ExcessiveUseOfCobblestone/lets-try-gps-without-kms
GPS Personalizations [Post TGPSUI]
2017-04-29 14:05:12 +12:00
oranges
7cfef759af Merge pull request #26527 from QualityVan/mutanthands
Zombie/limb refactors/fixes
2017-04-29 14:03:53 +12:00
oranges
08c3699461 Merge pull request #26536 from coiax/changes-traps
Nerfs and buffs The Traps
2017-04-29 14:03:30 +12:00
oranges
e8395c752e Merge pull request #26597 from Cyberboss/patch-63
Tank suicide no longer gibs w/o enough pressure
2017-04-29 13:59:12 +12:00
coiax
3a577221d0 Adds new debug verb for highlighting roundstart ATs (#26492)
* Adds new debug verb for highlighting roundstart ATs

Debug -> Debug Verbs enable
then
Mapping -> Show roundstart AT markers

Will highlight AT turfs, for easier location and comprehension rather
than looking at the list of coords. List of coords still works fine
though.
2017-04-28 12:58:34 -03:00
Leo
e803369fd9 Merge pull request #26634 from Core0verload/tochat_master_race
Changes some << to to_chat
2017-04-28 08:14:09 -03:00
ExcessiveUseOfCobblestone
409f4abbf3 ugh 2017-04-27 17:45:34 -04:00
ExcessiveUseOfCobblestone
9fc44e15e8 oh my god. 2017-04-27 17:42:29 -04:00
GunHog
c97aa6a665 TGUI GPS (#26561)
Ported the GPS system to TGUI.
GPS signals may now be updated automatically or manually, based on a new toggle.
The GPS now has the option to scan only the same Z-level, or all of them.
Toggling GPS power may now be done from the interface as well as the alt-click.
The user's own GPS unit is no longer displayed in the signal list, and is now its own section for quick and easy self-location.
Signals on the same z-level now have distance and direction information added to aid with hunting and exploration.
The scanning range and auto-update buttons have tooltips to explain how they work.
2017-04-27 18:25:49 -03:00
QualityVan
6ef65f5d2b Adds crayon grinding (#26605)
* Enables crayon grinding

* Adds color to red crayon powder and powder to black and white crayons.

* Lets you color stuff with crayon powder
2017-04-27 11:16:43 -03:00
c0
ee049b38de Changes some << to to_chat 2017-04-27 04:20:26 +03:00
oranges
d95e859e5d Merge pull request #26386 from ChangelingRain/initialnew
New() goes in the trash, we've gotta Initialize()
2017-04-27 10:15:10 +12:00
Cyberboss
729010bbb2 Unorphans the blackbox (#26129)
Moved sql_poll_population from server_maint to this new SS. Moved few remaining server_maint tasks to SSping and deleted it.
2017-04-27 10:04:57 +12:00
Cyberboss
5ace376e4a Initialize Refactor (#25981)
Shouldn't break anything, stops warning spam, logs errors qdel style at the end of the game.

Initialize now expects a hint to be returned, one of:
INITIALIZE_HINT_NORMAL - Does nothing, returned by the root proc
INITIALIZE_HINT_LATELOAD - Call atom/proc/LateInitialize
INITIALIZE_HINT_QDEL - Calls qdel on the atom

LateInitialize currently defaults to the old re-calling behavior so there should be no issues with that.
Things that didn't return a hint or fucked up somehow will be logged less loudly than they were before

No more world start warnings!
2017-04-27 09:02:29 +12:00
ma44
28ff6252cb Removes a unused chem (#26559)
* Update medicine_reagents.dm

* Update watertank.dm
2017-04-26 09:59:30 -05:00
Core0verload
0fd0c991a8 Gas injectors are now buildable (#26474)
* Injectors are now constructable and deconstructable

* Gives injectors TG UI, fixes a bug with MAX button not working for volumetric pumps
2017-04-26 03:35:27 -06:00
Cyberboss
c6fb750d11 Removes an unused var (#26579) 2017-04-25 23:32:13 -05:00
Joan Lung
6a31978b5e Drake swooping is smoother and more dangerous (#26543)
* Drake swooping is smoother and more dangerous

* tweaky tweak.

* don't behave like it

* slow it down

* swoop at it
2017-04-25 23:28:14 -05:00
Cyberboss
46e9570866 Tank suicide no longer gibs w/o enough pressure 2017-04-25 21:06:46 -04:00
MrPerson
e7fd32d49a Fixes windows going invisible
Fixes #26576
2017-04-25 14:43:30 -07:00
Robustin
f791536263 Dance Machine ~Fixes~ (#26420) 2017-04-25 17:13:53 -03:00
XDTM
691cc01833 Refactors T-Ray Scanners (#25093)
* Refactors T-Ray Scanners
2017-04-25 16:29:51 -03:00
Leo
254e01ba0b Merge pull request #26380 from coiax/window-construction-tips
Examining a window gives tips for construction/deconstruction
2017-04-25 11:38:57 -03:00
Joan Lung
228df13447 Merge branch 'master' of https://github.com/tgstation/tgstation into initialnew
Conflicts:
	code/modules/mob/living/simple_animal/hostile/megafauna/dragon.dm
	code/modules/station_goals/bsa.dm
	code/modules/vehicles/atv.dm
2017-04-25 07:32:06 -04:00
MrPerson
ff3f84ab81 Replaces /image with /mutable_appearance, where appropriate (#26518)
In cases where you're creating an image to use as an overlay, it makes more sense to use a mutable_appearance if you can. The image will create a static appearance for not just the image but also each intermediate step if you change vars along the way. The mutable appearance avoids this unnecessary and expensive process. The only situation that requires an image instead of a mutable_appearance is if the overlay is supposed to be directional. MA's ignore direction while images don't. I dunno why, probably another BYOND-ism.

I added a convenience function, mutable_appearance(), designed to emulate image(). Also went ahead and set the default plane of /mutable_appearance to FLOAT_PLANE because it's fucking 0 by default.

Several overlays that were image() calls were changed to just text strings when I could. overlays += "string" has the same result as overlays += image(icon, "string") and saves a proc call.
2017-04-25 12:15:16 +02:00
Joan Lung
dc0e007a23 A bunch of Initialize()s now have return values (#26464) 2017-04-25 10:51:40 +02:00
QualityVan
39113655eb Fixes flashlight eyes (#26497)
* Fixes flashlight eyes

* jesus that's a lotta light

* Rebasing

* test

* nothing to see here
2017-04-25 10:50:44 +02:00
Cyberboss
e266551346 Merge branch 'master' into ITKEEPSHAPPENING 2017-04-25 01:13:14 -04:00
Jack Edge
df91d2dcb0 Nerfs and buffs The Traps
🆑 coiax
balance: Wizard traps automatically disappear five minutes after being
summoned.
balance: Wizard traps disappear after firing, whether triggered via
person or something being thrown across it.
balance: Wizards are immune to their own traps.
tweak: The Traps are now marked as a Defensive spell, rather than an
Offensive spell.
/🆑

So a permament structure that has to be beaten down in order to remove
isn't really fun in the long term. So instead, they fire once, and then
disappear. They also disappear after a bit, so they're not long term
hazards, but they do stick around long enough so the wizard can feel
comfortable running back into an area they've already trapped, for that
AREA CONTROL.
2017-04-25 00:48:23 +01:00
oranges
7f2b0d0b05 Merge pull request #26397 from coiax/stops-easter-loot
Fixes easter eggs spawning during non-easter; SSevent now inits before SSticker
2017-04-25 11:06:28 +12:00
oranges
400ff0bf5d Merge pull request #26445 from XDTM/SprayNPray
Fixes objects being used on backpacks if they don't fit
2017-04-25 10:38:56 +12:00
QualityVan
6590860250 Refactors zombie organs
Fixes mounted chainsaws leaving a limb if acided
Adds species support for mutanthands, basically hard-equipped items like zombie claws
Fixes zombies not having claws on new arms
Mobs manually set to zombie species revert to human when their infection is removed
Inserts organs back into the mob when a bodypart is reattached
No longer generates eyes or ears when a mob changes species without having a head

Todo:
fix the initial problem of zombies being able to not have claws due to having a nodrop item before zombification and losing it
2017-04-24 15:32:00 -04:00
Cyberboss
ad458d452c Fixes template tank dispensers (#26490) 2017-04-24 14:11:57 -04:00
Cyberboss
7ddea10cd7 Exploit whack-a-mole 2017-04-23 21:16:10 -04:00
Cruix
f0a8ca68db Changed alternate appearances to /datum/atom_hud s (#26289)
* Changed alternate appearances to  /datum/hud s

* Added hashset behavior to the /datum/data_hud/var/hudusers list
2017-04-23 20:25:52 +02:00
Leo
4e5f2b0044 Merge pull request #26427 from ChangelingRain/lighterfix
Greyscale lighters no longer color the flame
2017-04-22 22:44:41 -03:00
Cyberboss
b9c54f517f Minor refactors (#26305)
obj/on_log changed to atom/on_log. Boolean parameter in
No admin irc message now checked in client/Del instead of mob/Logout
Removed an empty New()
1 -> TRUE
removed a potential crash in mob/Login
2017-04-23 09:52:47 +12:00
Jack Edge
5d5f99e062 While we're here, regenerate station names on holidays 2017-04-22 22:08:31 +01:00
Jack Edge
73eaed4cfd No roundstart stuff needed anymore 2017-04-22 22:08:31 +01:00
Jack Edge
133173c67c Removes adhoc types 2017-04-22 22:07:51 +01:00
Jack Edge
4fe95d0459 Fixes easter eggs spawning during non-easter
So I changed lootspawners to Initialize, which caused some code in
easter.dm to start working and added eggs and baskets to maint loot
table.

- The maintenance loot table is now a global list
- The easter event now modifies that global list.
- Maintenance loot spawners now run on roundstart
2017-04-22 22:07:50 +01:00