Commit Graph

17950 Commits

Author SHA1 Message Date
phil235
8e8061e851 Wearing colored glasses colors your vision, if you want to. (#20499)
* Adds semi-transparent colored fullscreen overlays which are used by glasses with tint_color.
Currently only red, blue, and green are available. And only nightvision glasses currently have a tint_color when worn (green).

* Completely rewrites how I did color tinting. We now use datum/client_colour and the client's color var.
I fixed items in our inventory UI being colored when using client.color.
I added an altclick() option on all glasses to toggle a new pref regarding the use of glass coloring your view.
I made a lot more glasses use vision coloring.
I fixed Thermal HUD Scanner not having its action button to switch hud type.
2016-09-17 16:28:50 +12:00
Joan Lung
01af00225b Miners can buy KA AoE damage mods from the vendor for a premium (#20430)
* Miners can buy AoE damage mods from the vendor for a premium

* message adjustment; if you don't have ENOUGH who cares if you COULD

* adjusta
2016-09-17 16:25:35 +12:00
Joan Lung
8f4d2cf7a6 Merge pull request #20531 from Ergovisavi/crystal_tweaks_twerks
Tweaks for Readability/Usability/Buffs for the anomalous crystal
2016-09-16 21:47:12 -04:00
oranges
3dd90395d7 Rearrange punpun new to prevent runtimes with equipping (#20507)
Equipping requires bodyparts to exist as it checks if you have the
appropriate bodypart for what you are equipping too
2016-09-16 09:19:39 -05:00
oranges
afa9f0555d Fix slime reaction spawning simple mobs in nullspace (#20542)
This causes the runtime to trigger, fixed by simply passing in the loc
immediately upon creation of the mob instead of after
2016-09-16 09:18:46 -05:00
Joan Lung
d434d38081 Fixes captain's helmet not showing masks (#20550) 2016-09-16 09:16:30 -05:00
phil235
143e4ce172 Made the wheel system generic, so future coders can make different wheel types.
I gave the talk wheel to aliens, monkeys and cyborgs.
2016-09-16 14:45:05 +02:00
XDTM
09090cc224 Code fixes and fully_heal change 2016-09-16 14:28:47 +02:00
Ergovisavi
ad575ce0bc Tweaks and usability for the anomalous crystal, as well as buffs for a few 2016-09-15 21:08:00 -07:00
Cheridan
b81b27a9d5 Merge pull request #20508 from phil235/GunVisualEffects
Adds some visual effects when ammo casings are fired and when projectiles hit things
2016-09-15 19:27:04 -05:00
Cheridan
fccd5448f3 Merge pull request #20527 from Iamgoofball/patch-135
Removes stock borrowing
2016-09-15 19:22:10 -05:00
phil235
26120b01c5 Some requested adjustments 2016-09-15 19:03:24 +02:00
oranges
230ebb5dc7 Observer huds now only trigger for mobs (#20490)
* Observer huds now only trigger for mobs

getpois can return items that are not mobs, such as the capture the flag
machinery, so we avoid trying to set the hud for these items

* add missing bracket
2016-09-15 08:55:52 +02:00
Cheridan
9e0e26ab17 Merge pull request #20500 from phil235/LifeFixes
Life fixes to prevent potential runtimes
2016-09-14 23:25:56 -05:00
oranges
213eb800d0 Merge pull request #20483 from lzimann/patch-15
Singularities eating a supermatter will now only play the sound to mobs in its z-level
2016-09-15 15:24:41 +12:00
oranges
10d4ce619f Prevent loops with del_on_death var for simple mobs
Same principle as the fix for DROPDEL
2016-09-15 02:08:40 +00:00
kevinz000
177045c980 [Ready]Electrical Chemistry (Tesla grenades) (#20448)
Teslium is now easier to make, and as with most electronics, no longer mixes with water.

tesla_act and tesla_zap both now have arguments to specify whether they explode machinery. By default only the tesla engine will explode machinery. This means that Tesla Revolvers will no longer cause a large area to implode if there is no one nearby the target of it to shock. This also means that tesla-grill bolts will no longer blow things up.
2016-09-15 12:59:23 +12:00
bigdickdude69
7ae1239069 Added bacon and a new burger recipe (#20477)
Bacon is made by processing raw cutlets.
New recipe, the Bacon Burger, is made with one bun, one cheese wedge and three pieces of cooked bacon.
2016-09-15 12:36:17 +12:00
Iamgoofball
3bb0c1bba0 fuck you cocksucker garbage-rejectspieces of shit fucking throw yourselves off a fucking bridge while doing a backflip 2016-09-14 17:07:54 -07:00
Shadowlight213
2c13b47b6d Changes to modular computer sanitization and documentation (#20453)
Changes documentation to an md
Changes some santize on inputs to reject_bad_text
Adds handling for the downloader to abort the download if the program is killed
2016-09-15 11:59:28 +12:00
Joan Lung
55f3bed6ec Megafauna will now use ranged attacks even if they don't have direct vision on their target (#20443)
This means stuff like bubblegum charging at you through rock, colossus throwing blasts through rock, hierophant doing anything if you're behind a wall, etc.
2016-09-15 11:58:11 +12:00
Joan Lung
313ecf3843 Merge pull request #20498 from phil235/RewriteMegaphone
Megaphones no longer have special say code to handle their effect.
2016-09-14 16:35:01 -04:00
phil235
9124c65198 Adds some visual effects when ammo casings are fired and when projectiles hit things. 2016-09-14 02:57:47 +02:00
Cheridan
a52a04c1d4 Merge pull request #20401 from ChangelingRain/youpushandyoupullandyoutellyourselfnoitslikewhenyouliedowntheveinsgrowinslow
Fixes drake fire breath multihitting
2016-09-13 19:10:07 -05:00
phil235
d0a1bb715d Fixes some potential issues with life(). Ever since we added instantaneous damage calculation a mob can die mid life() (and even be deleted for animals that delete on death, and potential gibbing). This means we need to check if stat is still not DEAD after calling every handle_X proc and before calling the next handle_Y proc that assumes the mob is not dead. (example: human is alive, handle_A() is called and ends up gibbing the human, which qdels it and makes its dna var null; then the life.dm() proc continues and calls handle_B() and assumes the human is still alive, that proc needs to call dna.something and BAM! Runtime!)
Also fixes targets_from var of hostile animal not being cleared when mob is deleted.

Finally, the automatic forced mob unbuckling when the mob is gibbed is moved to living/Destroy() so that it covers all possible deletions.
2016-09-13 20:14:38 +02:00
Cheridan
37944a1100 Merge pull request #20464 from ChangelingRain/whenibreakpatternibreakgroundirebuildwhenibreakdowniwakeupmoreawakethaniveeverbeen
Fixes magboots, engiborgs, and drones being able to move in space
2016-09-13 12:14:31 -05:00
Cheridan
3e3102038d Merge pull request #20476 from ChangelingRain/takingbackanemptythreatmorethanyoucouldeverknowtakeitbackwithnoregretsiwasbetteroffwheniwasonyoursideandiwasholdingon
Removes the horrible anim() proc and a bunch of spawns
2016-09-13 12:10:10 -05:00
Cheridan
f7853432a9 Merge pull request #20404 from GunHog/Captain_Hardsuit
Converts Captain's space suit into a hardsuit
2016-09-13 12:05:50 -05:00
Cheridan
2a0168abdb Merge pull request #20434 from ChangelingRain/idigtilmyshoveltellsasecretsweartotheearththatiwillkeepitbrushoffthedirtandletmychangeofheartoccur
Moves all beam icon states to beams.dmi
2016-09-13 11:55:24 -05:00
Cheridan
65e528c2aa Merge pull request #20467 from optimumtact/rightytighteyleftyloosey
Further improved puns when humans are dismembered
2016-09-13 11:51:36 -05:00
phil235
441a88c488 Megaphone no longer have special say code to handle their effect.
The megaphone is no longer used by clicking it and entering a message, you simply keep it in your active hand and talk normally.
Remove the insults feature of the emagged megaphone. The span of the emagged megaphone is now big and red.
2016-09-13 18:27:55 +02:00
AnturK
4709b5229b Merge pull request #20475 from optimumtact/throwat
Fix a bunch of incorrect throw_at proc definitions that caused a runtime
2016-09-13 15:41:00 +02:00
PKPenguin321
c839ff7d11 adds a dumb reference to arrows (#20466) 2016-09-13 15:39:39 +02:00
oranges
ded3bbc695 Fix legion hivecore incorrect preserved method definition (#20473)
* Fix legion hivecore incorrect preserved method definition

It will now correctly handle the implanted variable and pass it through to the parent so the handling can trigger

* Make sure default matches parent

* Proper parent call
2016-09-13 15:39:03 +02:00
phil235
37d1ea6108 Make sure talk_wheel_icon var is properly deleted when hud is deleted.
Add a hotkey for the talk wheel: H (hotkey mode) and Ctrl+H.
Fixes not being able to use the wheel and talk button while stunned.
2016-09-13 15:22:41 +02:00
Joan Lung
0067bd1332 Adds brass, used to construct various brass objects (#20419)
* Adds brass, used to construct various brass objects

* brasshole

* give em the brass

* give em more brass

* DYNAMIC

* VAR MURDER SPREE

* brassy

* acceptaphil

* this is super against my general preferences but eeeeeh sure okay i guess
2016-09-13 12:16:28 +02:00
oranges
6fbcc6e26b Fix a bunch of incorrect throw_at proc definitions that caused a runtime 2016-09-12 22:09:52 +00:00
Leo
f8bda98e27 The sound only plays for people in the singulo's z level 2016-09-12 19:01:40 -03:00
oranges
6b0a100d0b Merge pull request #20441 from MrStonedOne/ssSpaceDrift
Makes SpaceDrifting a subsystem
2016-09-13 09:23:16 +12:00
oranges
f35ed572aa Merge pull request #20455 from Xhuis/hydroponics_exploit_fix
Fixed an exploit allowing instant plant growth
2016-09-13 09:22:31 +12:00
Joan Lung
179b0b532d Merge branch 'master' of https://github.com/tgstation/tgstation into idigtilmyshoveltellsasecretsweartotheearththatiwillkeepitbrushoffthedirtandletmychangeofheartoccur
Conflicts:
	code/game/objects/structures/grille.dm
	icons/effects/beam.dmi
2016-09-12 17:14:39 -04:00
AnturK
3b5082b55a Station goals fixes (#20418)
* Fixes spelling,formatting and better beam sprite for meteor sat

* Fixes dna vault completion

* Lowers the plant requirement for dna vault

* Fixes spelling

* Fixes infinite loop in bsa computer new

whoops
2016-09-13 09:08:23 +12:00
TechnoAlchemist
eec3391270 Allows for sabre renaming. (#20367)
* Allows for sabre renaming.

* That's not supposed to be there

* Applies unique_rename to all /weapons

* fixes my stupid asshole
2016-09-13 09:05:30 +12:00
Incoming
68ada71758 Merge branch 'master' of https://github.com/tgstation/-tg-station into why_did_this_take_months
# Conflicts:
#	code/modules/surgery/bodyparts/bodyparts.dm
#	icons/mob/mutant_bodyparts.dmi
2016-09-12 16:35:08 -04:00
Joan Lung
f10ac32b69 Merge branch 'master' of https://github.com/tgstation/tgstation into takingbackanemptythreatmorethanyoucouldeverknowtakeitbackwithnoregretsiwasbetteroffwheniwasonyoursideandiwasholdingon
Conflicts:
	icons/mob/mob.dmi
2016-09-12 15:10:29 -04:00
Kyle Spier-Swenson
532fa4615a Fixes byond triggering 511 client required needlessly (#20478)
byond saw a access for `fps` in a client proc and assumed things.
2016-09-12 19:24:27 +01:00
phil235
443a4501ec Carbon Dismemberment , second attempt. (#20461)
* - I rearranged X_defense.dm mob files, more damage_procs.dm.Here's what's inside:
* X_defense.dm: is for the procs of attacks onto the mob, all the XXX_act() proc (things happening to the mob), as well as protection check and get procs (armor, ear prot, projectile dismemberment)
* damage_procs.dm: actual damage procs like adjustBruteLoss() getfireloss, any proc that handles damaging.

- some bugfixes with gibspawner effects.
- monkey's bodyparts can be dismembered and are used to create its icon.
- brains are no longer carbons.
- all carbon have bodyparts that can be dropped when the mob is gibbed.
- adminspawned bodyparts now have a default icon.
- robotic parts are now a child of bodyparts.
- health analyzer on alien/monkey shows damage on each limb
- added admin option to add/remove bodyparts for all carbon (instead of just remove on humans)
- Fixes keycheck message spam for janicart and all when trying to move.
- Fixes bug with buckling to a scooter while limbless.
- removed arg "hit_zone" in proj's on_hit() because we can already use the def_zone var (where hit_zone got its value)
- Fixes mob not getting any damage when hit by a projectile on their missing limb, despite a hit message shown). carbon/apply_damage() now when we specify a def_zone and the corresponding BP is missing we default to the chest instead of stopping the proc. Consistently with how human/attacked_by() default to its attack to chest if missing limb.
- Fixes mini uzi icon when empty and no mag (typo).
- I renamed and changed a bit check_eye_prot and ear prot
- renamed flash_eyes to flash_act()
- I made a soundbang_act() similar to flash_act but for loud bangs.
- added a gib and dust animation to larva.
- husked monkeys
- no damage overlay for husk or skeleton.
- damage overlay for robotic limb now.
- no damage overlay when organic bodypart husked.
- one handed human with a bloody hand still get a bloody single hand overlay.
- fix admin heal being unable to heal robotic bodyparts.
- slightly touched robotic bodypart sprites (head one pixel too high)
- Fixes 18532 "beheaded husk has hair".
- Fixes 18584 "Ling stasis appearance bug"
- no more eyes or lipstick on husks.
- can remove flashes/wires/cells from robot chest and head with crowbar.
- Fixes not being able to surgically amputate robotic arm/leg.

* More merge conflict fixes and adding the new files I forgot to add.

* of course I forgot birdstation

* More typos and stuff I forgot to undo.

* Fixing a typo in examine.dm
Removing an unnecessary check.
Making admin heal regenerate limbs on all carbons.
Monkey-human transformation now transfer missing limbs info and presence of a cavity implant.
NODISMEMBER species can still lack a limb if the mob lacked a limb and changed into that new species.
Changeling Regenerate ability now also regenerate limbs when in monkey form. (and remove some cryptic useless code)

* Fixing more conflicts with remie's multihands PR.

* Fixes runtime with hud when calling build_hand_slots().
Fixes lightgeist healing not working.
Fixes null.handle_fall() runtimes with pirate mobs.
Fixes typo in has_left_hadn() and has_right_hand().

* Derp, forgot to remove debug message.
2016-09-12 19:33:50 +02:00
Joan Lung
6bc1981246 may this also die 2016-09-12 10:43:14 -04:00
Joan Lung
1616b7a237 Removes the horrible anim() proc and a bunch of spawns 2016-09-12 09:25:59 -04:00
Joan Lung
5592d46594 touch lightly 2016-09-12 09:05:19 -04:00