Commit Graph

9453 Commits

Author SHA1 Message Date
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
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
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
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
coiax
e2c4843517 Upgrading RPG loot items modifies their name accordingly (#26144)
* Upgrading RPG loot items modifies their name accordingly

- the greater crowbar of many tales +2
- use item fortification scroll
- the greater crowbar of many tales +3

- Once the RPG loot event fires, a global is set which means all new
items will have rpg_loot datums attached to them.

Otherwise, everything functions the same. Item fortification scrolls are
only spawned when the event fires.

Using an admin spawned item fortification scroll on a non-rpg looted
item works, it'll grant that item only a RPG datum.

Made a /unlimited upgrade scroll if admins feel like buffing an item.

* Scroll

* Scroll, <i> nix

* Fixes vaporising items, negative quality

* Fixes runtime when upgrading non-rpg item

* Static lists

* Muh spelling
2017-04-13 16:14:11 -06:00
Robustin
7db828644c EngiMarket Part Four - Ranged RCD and Rapid Lighting Device (RLD) (#25263)
Two new items, one brand new, the other an RCD that works at range without any other bells and whistles.

The RLD allows you to create floor and wall lighting along with temporary (they use fuel like flares) glowsticks at range. It can also deconstruct lights. The best part of this feature (besides the visual "ammo" updating icons) is the ability to select absolutely any color you desire.

🆑 Robustin
add: Ranged RCD added to the game
add: Rapid Lighting Device (also ranged) has been added. It can create wall, floor, and temporary lights of any color you desire.
/🆑
2017-04-14 09:31:43 +12:00
Jack Edge
a7b94fcdf9 Fixes ops not exploding on death if their manual trigger window is open 2017-04-13 21:54:21 +01:00
Cyberboss
4564df41f0 Some Initialize ports 2017-04-13 16:01:28 -04:00
Robustin
85a8b89cfa no more "null" 2017-04-13 14:48:42 -04:00
Davidj361
b25fa51341 Fixes #26083, bodies in body bags get cremated now (#26117)
* Fixes #26083, bodies in body bags get cremated now

* Changed usr to user because angry neckbeards

* Reverted my changes

* Uses GetAllContents()
2017-04-12 21:07:08 -06:00
Davidj361
dfef186597 Fix for bug #25899 (spray guns) (#26102)
* Fix for bug #25899 (spray guns)
- Made it so chemsprayers and extinguishers don't spray when you click your inventory items
- Spray guns now actually have their range change when changing modes between spray and stream

* Fix for bug #25899 (spray guns)
- Made it so chemsprayers and extinguishers don't spray when you click your inventory items
- Spray guns now actually have their range change when changing modes between spray and stream

* Changes suggested by duncathan
2017-04-12 19:53:51 -06:00
Joan Lung
84886b3f4f Misc logging changes (#26116)
* Misc logging changes

* conniptions
2017-04-12 18:49:32 -06:00
coiax
de35ec5f67 Partial sparks boilerplate reduction (#26081)
* Partial sparks boilerplate reduction

- Lots of obects are making `/datum/effect_system/spark_spread`, setting
them up, firing them, and then not qdeling them afterwards.
- Makes a `do_sparks` global proc that takes the same arguments as `set_up`
and then calls `start` and then `qdel`
- Switches a bunch of things to use this proc
- Makes emitters keep their own spark_spread datum around, since they
spark so damn much.
- Also makes some things use timers and ports some things to Initialize.

* Compilation
2017-04-12 19:59:45 +02:00
AnturK
0fb598f55e Some arcade cleanup (#26041) 2017-04-12 09:53:46 -03:00
Leo
7288466d17 Merge pull request #26089 from ExcessiveUseOfCobblestone/patch-24
Eightball Hotfix
2017-04-12 07:22:52 -03:00
coiax
5c6d0a96b1 Fixes cigarette branding and taste (#26030)
* Fixes cigarette branding and taste

🆑 coiax
fix: Cigarette branding has been fixed.
add: Uplift Smooth brand cigarettes now taste minty as advertised.
del: You can no longer inject cigarette packets to inject all cigarettes
simultaneously.
/🆑

- Makes subtypes of all the brands of cigarettes, and sets them to the
packets, removes the brand var and the special casing initializing that
had to be done for it.
- Adds "menthol", a do nothing drug chemical that tastes of mint to
Uplift Smooth (because they say they taste of mint, so we're fixing bugs
in the user's experience)
- Cigarettes now have a "list_reagents" var, for specifying their
initial reagents mix, like `reagent_container`

* Only trippy rollies start lit

* RRR
2017-04-12 21:14:22 +12:00
Leo
31d2e9f4e0 Merge pull request #26066 from Cyberboss/EmoteGrammar
Fixes some emote grammar
2017-04-11 18:13:07 -03:00
4dplanner
2f1f0da5be Adds another can_inject check just before injecting (#26001)
* Adds another check before injecting/applying medicals stacks

* More helpful comments

* Updates to use extra_checks
2017-04-11 15:25:07 +02:00