Commit Graph

318 Commits

Author SHA1 Message Date
Wowzewow (Wezzy) 307c214541 makes w_class use defines (#9848) 2020-09-06 17:37:56 -03:00
Matt Atlas 0dd08df5b2 Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702) 2020-08-28 20:47:00 +02:00
Cyantime 1a8940bbd8 Adds defines for species and bodytypes (#9707) 2020-08-24 13:59:24 +02:00
Wowzewow (Wezzy) baca20621f New generic pickup and drop sounds (#9701) 2020-08-21 22:33:00 -03:00
Wowzewow (Wezzy) 7114d3525f More new sounds and fixes equip sounds (#9464) 2020-08-12 11:17:39 +02:00
Geeves 2cb2bce2af Gradual Research (#9342)
The RnD Console UI has been overhauled.
    RnD levels are now a gradual progress instead of just leveling up, not much has changed, but deconstructed items now give more * Data disks now tell you what they contain.
    The red scanning goggles now let you see examined items' tech levels.
    RnD consoles should now open on the main menu instead of the research menu.
    Ejected items from the RnD console and destructive analyzer now go into your hands if you're adjacent.
2020-07-18 23:36:06 +03:00
Geeves d647a567f4 Back-mounted Shields (#9301)
A shield worn on your back will now properly defend you from penetration in the rear.
2020-07-15 21:16:50 +03:00
Geeves 33ad8096fb The Great Spanning (#9320)
This PR get rid of all (most of) the span("thing", spans and replaces them with the SPAN_THING( variant, which has gained more popularity recently.
2020-07-12 15:53:28 +03:00
Geeves 7f7d56a0a9 Bodypart and Slot fixes (#9319) 2020-07-09 11:10:46 +02:00
Doxxmedearly 16801b2abb Lit update (#9247)
Lit cigarettes now count as flame sources.
Changed the isflamesource proc from a general proc to an obj/item proc. It is tidier and will be easier to add future flame sources this way.
Removed some hardcoded flame stuff (Such as igniting rags and paper), which depending on an item being a type instead of just being something that could produce a flame. They now check to see if an item counts as a flame source.
Found leftover clown BS while updating paper burning code and killed it off.
2020-07-04 00:52:12 +03:00
Wowzewow (Wezzy) 3160508c1a Makes tool colors work, despaghettifies code (#9231)
I finally figured out how to make tool inhands and inhand coloring work properly, so custom colors can apply to inhands! (yes, even the stuff from loadout.)

Code-wise, this guts the superfluous our_color variable.
This cuts it out from screwdrivers, wirecutters, cable, and everything else which uses this shit.
I'm pretty sure testing this has taken out a day out of my life.

Also I fixed up the cable examine to be less crappy. (so you can finally see cable descriptions.)

Don't mind the commits, I just built this on top the handcuff noose PR.
2020-07-02 20:40:17 +03:00
Alberyk abea80f1e9 Blood cleaning fixes (#9244)
* Blood cleaning fixes

* adds changelog
2020-06-30 11:58:17 +02:00
Geeves 7922c58c77 Spacebike Storage and Speedbuff (#9134)
Spacebikes, speeders, and monowheels now have storage compartments accessible by dragging it onto your sprite.
    Spacebikes and speeders now drive a bit faster on non-space tiles.
2020-06-29 22:13:04 +03:00
Alberyk bb9d1e2b22 Reworks aut'akh augments (#9079)
This pr changes all aut'akh augments and adds a couple of new ones, with effects and the like. Requested by sleepy.
2020-06-28 13:58:37 +03:00
Matt Atlas c6d9cba325 Changes up a lot more messages to look like emotes. (#9133) 2020-06-18 10:29:47 +02:00
Geeves 344630ea29 Agent ID Buff (#8918)
The agent ID card now makes you invisible to the AI when electronic warfare is enabled.
    The price of the agent ID card have been upped to 4, from 3.
    Agent IDs now have a charge, which lasts for a few minutes. When the charge runs out, electronic warfare is disabled.

Credits to Loaf (the man of many names) from Nebula for teaching me this technique.
2020-05-25 19:22:41 +03:00
Wowzewow (Wezzy) fad8415a8e Pickup, Drop and Equip sounds (#8861) 2020-05-22 15:40:00 -03:00
Matt Atlas 4b97822bb4 Bump dreamchecker version to 1.4 (#8711) 2020-04-28 15:41:32 +02:00
Matt Atlas 77d8844eb2 Ghosts can now jump to emotes, better follow links, ghosts can now see where someone ghosted. (#8677) 2020-04-25 16:00:56 +02:00
Wowzewow (Wezzy) 723c711022 Inhands : the final fuckening (#8696) 2020-04-24 11:36:00 +02:00
Geeves 482b749ff4 Misc Attack Message Fixes (#8532)
You can now put flags on windows without bashing them.
    Compartmental circuit kits no longer display pickup error messages when you put it back in the big box.
2020-03-29 12:28:39 +03:00
Geeves c0ff0d90d6 vaurca vestigial arms (#8280)
Allows Vaurca to hold small items in their lil vestigial arms. The suit slot counts as pseudo-arms.
2020-02-22 21:52:02 +02:00
Matt Atlas 7e10f31776 Welders and cable coil now automatically repair the targeted robotic limb. (#8246) 2020-02-18 15:54:27 +01:00
mikomyazaki 6074224d00 dreamchecker (#8233)
Implements dreamchecker plus fixes all errors
2020-02-16 20:42:32 +02:00
Matt Atlas c087a0a0bf Ports a psionic system from Bay. (#7717)
* Ports a psionic system from Bay.

* Rip out this shitcode.

* shitcoden't

* fixes

* it should work fully now

* Admin fixes

* Remove todos

* remove todos part 2

* Removes psi-armour. We don't need this for now.

* Skrell are now operants. Tweaks coercion.

* Adds thralls.

* Temp removal of psiarmour. Fixes psigrabs.

* Thrall assay.

* fixes

* More fixes

* unused define cleanup

* Log and powers

* Skrell powers are done.

* Update code/modules/psionics/events/mini_spasm.dm

Co-Authored-By: Geeves <ggrobler447@gmail.com>

* Update code/modules/psionics/events/mini_spasm.dm

Co-Authored-By: Geeves <ggrobler447@gmail.com>

* Update code/modules/psionics/equipment/cerebro_enhancers.dm

* did this work???

* jargon

* arrow's fixes

Co-authored-by: Geeves <ggrobler447@gmail.com>
2019-12-24 11:32:05 +01:00
Werner cb4a712851 Enforces Lineendings and adds Editorconfig (#7657) 2019-12-21 16:19:24 +01:00
JohnWildkins a03f170f16 Ports BS12 fixes / refactor of visualnets. (#7572)
Ports (and adjusts) Baystation12/Baystation12#12521 et al. Essentially brings our visualnet code up to the standard of three years ago, rather than five.

Side effects of merging may include but are not limited to loss of AI vision, helmet camera failure, garbage collection implosion, infinite turf loops, and unintended layer shenanigans.

High-level changes:

    Overall, visualnet/chunk procs have been renamed and refactored to be clear as to their function.
    Fix some layering issues related to magic numbers, these have been set to constants.
    Visualnets now track source movement rather than overriding individual mob/obj procs.
    Adds obfuscation underlay to complicate memory fudging to remove camera static.
    Cameras now only add themselves to the cameranet if they're on open (non-restricted) networks.
    Helmet cameras now use cameras themselves rather than network defines.
    Adds a sorted object list insertion helper.
    The Camera MIU (presently unused) should now function properly.
    Unused cultnet / cult mask deleted because refactoring that would likely kill the few brain cells I have left
2019-12-07 18:37:40 +02:00
SueTheCake 84794c6e65 Mechs 3: Electric Boogaloo (#7486) 2019-11-25 23:04:19 +01:00
Matt Atlas 5da2a9c24b Splits organs into organ/internal (#7441) 2019-11-20 23:07:10 +01:00
Werner af16a489a6 Removes Weapons (#7415)
* Adds icon and hitsound where needed.

* Moves alt_attack to /obj/item and deletes weapons.dm

* Replaced /obj/item/weapon with /obj/item

* Fixes merge issues.

* Fix merge issues.
2019-11-16 18:36:13 +01:00
Alberyk aa8f7b8f6b Makes so that you can pick up anchored items again (#7354) 2019-11-08 20:10:04 +01:00
JohnWildkins 9c335f6c00 Killing off inconsistencies with impact wrenches / combi-tools (#7269)
Part 1 in the "why my impact wrench no wrench bolt" saga

tl;dr for end users: combitools / impact wrenches now work on everything their non-powered versions do (except mechs and RIGs, tune in next time on dragon ball Z for that)

essentially all this PR does is murder every istype() check possible that could use a helper function instead, most notably many pen checks with ispen(). it also repaths combitools and powerdrills to /obj/item/weapon so they aren't instantly taken out of contention by half of the known attackby() prompts

I already squashed a couple runtimes here and there from the pen changes and it's possible I missed another because pencode is another scourge upon our lives
2019-10-26 22:20:40 +03:00
Mwahahahaha ac9c1769ae Accessory Flipping, Wallets, Lanyards, contractor worn ID icons, ID layer switching, custom loadout names and descriptions, manbeast, hiiyah (#7087)
Asymmetrical accessories can now be flipped! This is done through the attack_self proc (i.e., activating it in your active hand), or a right-click menu if the item already has an attack_self behaviour.
This affects:

    Stethoscopes
    All medals
    All badges
    Armbands
    Holsters
    Machete Holster
    Scarves
    TCFL ribbons
    Shoulder capes
    Sleeve patches
    Bandoliers
    Political pins
2019-10-19 00:04:29 +03:00
Lady Fowl d6ff38ef96 The Epic Construction Update (#5976)
How to build machine blueprints!

Use steel sheets like normal, then rotate the frame how you like it using the directional arrow. From here use a Multitool to finalize it and then wire it up like you would before.
2019-09-10 22:07:46 +03:00
fernerr 2a2cc7d52e Ports table item autoalign from Bay (#6946)
Made it so items get their pixel x/y reset on pickup.
    Thrown items now also get their pixel placement slightly randomized.
    Tweaked the center of mass on a boatload of items to be more accurate to their sprite art.
    Replaced a bunch of randomized pixel placement code into a unifying proc; randpixel_xy() that uses an item's randpixel var.
2019-09-08 22:51:49 +03:00
MarinaGryphon d600950c56 Circuit Bugfixes (#6930)
Fixes a myriad of issues with circuits:

    Fixes scanners not working with circuit clothing.
    Fixes buttons etc. not working with circuit clothing.
    Fixes circuit sensors not working, period.
    Fixes my accidental deletion of the temperature sensor aspect of the reagent sensor circuit. :'(
    Fixes circuit gloves and glasses not triggering properly.
    Makes it so that anchored items cannot be picked up. (Risky? Maybe!)
2019-08-31 21:08:03 +03:00
MarinaGryphon bd5884c89a Circuits Update One (#6852)
Ports a buuuuunch of circuits from Polaris.
Allows metabolic siphons and internal energy siphons to consume power to feed their host.
Ports /tg/ circuits too while I'm at it.
Increases base size and complexity for circuits. You're all adults. Hopefully. Don't abuse it.
Ports the integrated circuit detailer.
2019-08-25 21:44:42 +03:00
Werner a8e4e7f88c Ghost Roles (#6706) 2019-08-10 23:57:49 +02:00
Conspiir f659fa096c Creates a Preference toggle for Drop Sounds (#6397) 2019-05-19 15:49:14 +02:00
alsoandanswer 1bab746d17 adds new sounds (the not stupid version) (#6307) 2019-05-05 23:51:08 +02:00
LordFowl 8d436c4a03 Converts all necessary << outputs into the to_chat() macro. (#6076)
This PR will lead us towards the Promised Day, for in its wake there shall be much celebration and ecstasy as this world becomes a world suitable for developer hegemony. The first strike is thusly;

All << is converted into to_chat().
2019-03-10 23:39:03 +02:00
Alberyk 76b743a986 Adds the Aut'akh unathi (#5919)
* Base work for the unathi robot subspecies.

* Adds metabolism species, kidney vars, and the robot unathi organs.

* Moves some action buttons to organs, pretty much a bay port right now. Todo: the unathi and alien stuff should also go here.

* First autakh implant power.

* Fixes the organs action button this time.

* Finishes more implants, and interactions with flashs and vaurca.

* Prepare for great changes.

* Drops the real bomb, boss.

* He who fights with monsters.

* Far more work into augments and limb removing powers.

* Limb verbs should be good now.

* A LOT of work into the assited organ, allowing it to bleed and etc, as well adding a new chem that will stop bleeding in their case.

* Probably the last work on implants.

* Some extra touches.

* Some tweaks to the species.

* More fixes and adds kyre's sprites.

* More runtime fixes.

* Fixes the species name too.

* Fixes travis.

* Updates this file too to work with the new tools procs.

* Adds changelog

* Fixed changelog.

* Unathi hair and lore description.

* Some tweaks to this too.

* Locks away them for now, they will be released after we got all the events and etc done.

* Changes this chemical.

* Fixes an airlock runtime.

* Adds the non scan flag to the autakh, mostly due to some bizzare interactions with changelings and cloning.

* Organs removal changes; can't take out the organ if it is too damage.

* Restricts them back again.

* Robotic organs now have the proper icons and names.

* Adds sprites for their organs and some extra tweaks.

* Fixes this missing icon.

* emp should also now hurt assited organs.

* Tweaks more organ related things.

* Fixes the head not being properly set as well.

* Fixes their flags.

* fixes the flag for real this time.

* Poze's review.

* Changes the au'takh organ buttons to don't be animated.

* Helps with adminbus or something.

* Fowl's requested changes.

* Fixes a typo.

* Robotic limb's brute and burn mods are now controlled by the limb model.

* Fowl's changes once more.

* Stops some spam.

* More grammar.

* No eal.

* Skull's review.
2019-01-23 19:27:44 +01:00
Alberyk 59be553606 Material door updates: lock and damage (#5659)
-ported locks and keys from baystation
-fixed the simple door damage interaction, now you can properly destroy it and etc
2018-12-08 21:40:06 +01:00
BurgerLUA 8519dcc393 .loc = to forceMove() (#4937)
As requested, this PR is changed to only include all .loc = to forceMove() changes.
2018-08-04 01:48:58 +03:00
LordFowl 76372c4b15 [Ready for Review] Unapologetic Vaurca Buffs III: Revenge of the Buffs (#4885)
Implements various changes at the behest of lore-dev BygoneHero, namely:

Vaurca can now wear specially modified softsuits.
Vaurca now have their own special rigsuit a la the breacher: the combat exoskeleton. It comes with various special modules, including a boring laser that allows them to dig below themselves rapidly, a vaurca variant of the combat injector which includes phoron and k'ois paste, and a neural lattice which reduces halloss by sharing it with everyone else wearing a neural lattice.
Vaurca also have received various other currently unavailable event items, including a variant of the tactical mask that filters out nitrogen and allows the Vaurca wearing it to eat, tachyon rifles and carbines which penetrate up to three layers of walls and possess other fringe benefits, the gauss rifle which is a semi-automatic variant of the crossbow with greater power and a 6 rod magazine, the energy zweihander, commando armor and scout armor.
Introduces a general climbing mechanic. Climbing can be initiated by clicking on a wall or an open turf, and it is a percentage chance that is modified by the amount of stable/large items beneath you, and decreased by the amount of unstable/small items. Vaurca are naturally proficient and always succeed at climbing.
Changes Vaurca to see in blue-green vision. Their vision is generally brighter and reddish colors are converted to a blue-green color.
Adds the Sedantis flag, an interhive flag that celebrates the universal longing for Sedantis and is a symbol of the Vaurca diaspora.
2018-07-22 19:17:03 +03:00
Alberyk eb80d3ec68 Ports weapons cleaving and reaching features from polaris (#3969)
-axes, chainswords and longswords can now cleave, hitting targets around the user, ported from polaris
-added support for melee weapons that can hit targets two titles away, as well ported from polaris
2017-12-23 21:12:06 +02:00
Lohikar 58519daeba Recharger QoL Tweaks (#3826)
changes:

Rechargers now briefly show a progress bar showing the current charge level of the device currently charging.
Examining a recharger will now specify what is in the charger.
Atoms can now mark themselves as requiring an icon update on initialize instead of overriding Initialize() just to call update_icon().
Charger code is now slightly more modular, using proc/get_cell() to get a ref to the power cell instead of hard-coded if-else chains for each supported type.
2017-11-18 18:46:14 +02:00
Lohikar 5121dd7b4d Make two lists lazy (#3435)
Makes the accessories list on uniforms and the shockedby list on doors lazy, as well as reduces the number of add_overlay() calls by airlocks.
2017-09-17 18:47:21 +03:00
skull132 16d33365c2 Merge branch 'master' into development
# Conflicts:
#	code/modules/client/preference_setup/loadout/loadout_xeno.dm
#	code/modules/customitems/item_defines.dm
2017-09-09 21:38:02 +03:00
Lohikar 06ea9d6ac2 Mining performance fixes (#3387)
changes:

Mining ore bags are no longer painfully slow.
The ore summoner now sleeps instead of just giving up on TICK_CHECK.
2017-09-03 00:47:01 +03:00