Commit Graph

9467 Commits

Author SHA1 Message Date
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
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
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
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
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
XDTM
ec5d5f3756 Fixes objects being used on backpacks if they don't fit 2017-04-22 19:30:15 +02:00
Joan Lung
59b905f5ef reeeeeeeeeeee 2017-04-22 10:01:50 -04:00
coiax
f993f9ce36 Refactors ear damage into ear organs (#26044)
* Refactors ear damage into ear organs

🆑 coiax
add: Centcom would like to inform all employees that they have ears.
add: Adds "ear" organs to all carbons. These organs store ear damage and
deafness. A carbon without any ears is deaf. Genetic
deafness functions as before.
/🆑

- `ear_damage` and `ear_deaf` vars removed from /mob.
- All mobs have a `can_hear` proc, which returns TRUE always except for
carbons.
- Carbons need to have an ear organ that has 0 `deaf` var.

- Explanation of how ear damage works is in the code, it hasn't been
changed from previously. Deafness is applied in number of Life ticks
until you regain hearing, while damage is long team, heals slower, and
when high enough, can cause flashbangs to make you go permamently deaf,
as before.

- Wearing earmuffs halves the healing time of deafness, and promotes
healing long term ear damage, as before. Earmuffs now have a secondary
flag HEALS_EARS, which currently only they own.

* Changes how soundbang deafness works slightly

* Ear organ icon

* Code review I

* Makes fully healing carbons not dependent on having a dna and species

* Gives monkeys and aliens ears

* Whoops

* Split organs into seperate files

* Tweaks.

* Un-removes brain damage lines

* Moved procs onto /mob for ear stuff

* Massages things into compiling

* Replacement of spam_flag with world.time tracker
2017-04-22 08:51:03 -04:00
oranges
61b93ce182 Merge pull request #26337 from Core0verload/picture_frame
Refactors picture frames to use wall frames system
2017-04-22 10:54:19 +12:00
Cyberboss
44898a9b9e Conveyor movement refactor/fix (#26408)
* Refactors conveyor movement

* Fixes effects being affected by conveyors

* Fixes jetpacks not stopping conveyors

* Fixes /mob/dead being affected by conveyors

* Fixes butterflys being affected by conveyors
2017-04-21 19:27:37 -03:00
Joan Lung
d48dc50007 Fixes #25029 2017-04-21 17:59:39 -04:00
Cyberboss
011448491e Fixes proximity_checkers being visible in the right click menu (#26367) 2017-04-20 15:52:14 -03:00
Joan Lung
db9d86a39e New() goes in the trash, we've gotta Initialize() 2017-04-19 18:22:26 -04:00
Jack Edge
8f44405cc7 Also reinforced desc 2017-04-19 22:55:05 +01:00
Cyberboss
11c5f0e0ce Fixes showcases not initializing (#26355) 2017-04-19 13:07:57 -06:00
Jack Edge
73cc6834cf Examining a window gives tips for construction/deconstruction
🆑 coiax
add: Examining a window now gives hints to the appropriate tool for the
next stage of construction/deconstruction.
/🆑
2017-04-19 17:10:59 +01:00
oranges
56a55709b3 Merge pull request #26330 from Tacolizard/wiressss
Gives wirecutters origin tech
2017-04-19 21:31:56 +12:00
Tacolizard
ec7606d9cf fixed 2017-04-17 13:19:27 -07:00
c0
5c6b32cbc3 Refactors picture frames to use wall frames system 2017-04-17 15:37:05 +03:00
Cyberboss
4f14ca7a49 Proximity sensing refactor (#26260)
* New proximity monitor datum

* Replace the old systems

* Fixes #26254

* Ports a New and spawn to Initialize

* Switch to Moved

* Remove unused var

* Speedup and fixes

* More speed

* qdel in movable

* Uneeded now

* Fix

* Use the faster RANGE_TURFS
2017-04-16 14:48:29 -06:00
Jalleo
1ac86f3fb4 [s] Fixes RCD,RCLD & ARCD (#26215)
* Fixes RCD RLD AND ARCD simple mistake on two things easily done.

* Does what Robustin says

* Does even more of what Robustin says
2017-04-15 11:29:04 -06:00
coiax
7707910eb4 Renames the Cleanable/ folder to cleanable/ (#26007)
* Renames the Cleanable/ folder to cleanable/

* Rename in tgstation.dme as well
2017-04-15 10:45:55 -06:00
Joan Lung
f74359e695 Merge pull request #26193 from Robustin/future5
Engimarket 3, The Third III: Fucking Dance Machine
2017-04-14 22:07:02 -04:00
Joan Lung
2697e41257 Merge pull request #26194 from Cyberboss/PreloadConfig
Some Initialize ports
2017-04-14 22:05:15 -04:00
Joan Lung
469557095d Merge pull request #26197 from coiax/fixes-op-not-exploding
Fixes op death just opening a polite window asking if you want to activate your explosive implant
2017-04-14 22:03:29 -04:00
Iamgoofball
8af63d5fd2 Tracks station renames. (#26051)
* Tracks station renames.

* addresses jordie's request
2017-04-14 10:44:40 +02:00
octareenroon91
02f81a091f Fix twohanded quick-equip (#26172)
Fixes #26105
2017-04-14 01:51:03 -06:00