Commit Graph

865 Commits

Author SHA1 Message Date
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
Cyberboss 9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Leo 3a81331d68 Merge pull request #25919 from Qbopper/brokencloset
Fixes redundant messages about broken closets
2017-04-06 18:38:58 -03:00
Cyberboss a71d39c679 Fixes template loaded closets (#25901) 2017-04-06 09:04:35 -06:00
Cyberboss f1d4136f36 Moves a file around (#25902) 2017-04-06 09:34:08 -04:00
Qbopper a26f4fa26b fixes broken closet messages 2017-04-05 15:48:11 -04:00
Cyberboss fc20f51454 Prevents certain closet types from being anchored (#25878) 2017-04-05 12:34:08 -03:00
AnturK 3969b69ffd Allows monkeys to use lockers 2017-04-02 21:47:42 +02:00
Cyberboss 5fe391805a Fixes some closets not taking things from the turf (#25728) 2017-04-01 21:43:17 -03:00
Cyberboss 50d41ac3aa Closets no longer try to insert themselves (#25726) 2017-04-01 11:14:29 -04:00
Remie Richards d1b2be75ad Fixes #24998 (Statues spawned by wizards are invisible) - Correctly (#25638)
* Fixes #24998 Correctly

* Fixes potential addition to non initialised overlays list
2017-03-31 09:33:44 -03:00
coiax 000e923a87 Autoimplanters renamed to autosurgeons; nuke op autosurgeon fix (#25549)
* Autoimplanters renamed to autosurgeons; nuke op autosurgeon fix

Fixes #24443.

🆑 coiax
add: Autoimplanters have been renamed to autosurgeons. Currently only
the CMO and nuclear operatives have access to autosurgeons. What is the
CMO hiding?
fix: All upgraded organs for purchase by nuclear operatives now actually
come in an autosurgeon, for speed of surgery.
/🆑

- Autosurgeons now insert any type of organ put in
- Replaced organs are dropped on the floor by default, and if told not
to, will GC, rather than just disappearing through lack of references
- Makes autosurgeons have a `starting_organ` type, where it'll make an
internal organ to be dispensed.
- Autosurgeons now change their name depending on their internal organ
- Nuke ops now just buy the autoimplanter with the organ already inside
it.

* Fixes naming and sprite
2017-03-30 22:09:35 +13:00
Cyberboss d60a1a48cb Fixes closets sometimes not inserting their loot (#25556) 2017-03-29 19:21:32 -03:00
TrustyGun 0fa7c3f3f6 Deconstructing display cases and coffins now drop the correct amount of wood. (#25445) 2017-03-25 10:01:43 -03:00
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
jughu 7e2fc83e1f Detective's revolver and ammo now starts in his holster (#24622)
* Update belt.dm

* Update security.dm

* Update belt.dm
2017-03-04 01:05:38 -06:00
uraniummeltdown bf0f599a05 add science crates from /vg/ (#24349) 2017-02-24 12:08:36 -06:00
Cyberboss 56a6eaa8e6 Overlay queuing (#23922)
* Overlay queuing

* Fix SS flags

* Don't copy on assignment

* Flags processing

* Fix icon_smoothing

* MSO's helper proc

* Legacy detection

* Make it work

* Fixes shitcode

* Fix the flag

* |= -> +=

* OK, how did I fuck that up?

* shitcode

* Conditional assoc queue while initializing

* Cleanup everything

* Orange meme

* This isn't perfect, but its the best byond will give us.

* forgot about dir

* oh ya

* This was litterally the last thing i did last night before heading to bed

You can tell can't you?

* Fixes various shit

* Let's not ever pause

* Fix the flag

* Cleaned up some missing shit. Added image dummys

* Remove the one usage of FPRINT

* Jesus get rid of this
2017-02-22 21:44:55 +13:00
kevinz000 70dba6e3c8 [READY]Allows people to ride around on cyborgs (#23440)
* cyborg_riding_revival

* Knockoff Damage

* ...

* Restraint checks

* Update silicon_defense.dm

* Fixes throwing humans through a wall...

* no cyborg stacks

* wew wew human harm wew wew

* Fix

* ...

* FOR_THE_LOVE_OF_GOD_WILL_YOU_JUST_FIX_PLEASE

* armchecks

* ... What?

* Fixes..

* .

* honk

* stuffs

* fixes

* fine basilcuck

* fixes

* done

* eMAAAGS

* f i x e s

* this better fucking fix reee ;-;

* fix?!

* all_ready

* hm.

* fixes

* fixes...

* woops

* fixes

* defines

* ready
2017-02-10 20:22:40 +13:00
oranges d70fdb37b0 Merge pull request #23817 from Cyberboss/patch-1
Fix supermatter consumed in a closet by a singulo
2017-02-09 20:32:34 +13:00
oranges 99c7a8d74a Merge pull request #23766 from KorPhaeron/surplus_limbs
Replaces the limb grower with a box of surplus limbs
2017-02-08 18:28:38 +13:00
danno "big fucking moron" gonzales 3e5108f4ee new coat of paint: colored jumpsuits (#23786)
* redone colored jumpsuits

* purp scurp

* weehawwww
2017-02-07 16:32:35 -06:00
Cyberboss 05ab6d8f10 Fix supermatter consumed in a closet by a singulo 2017-02-07 11:26:43 -05:00
KorPhaeron 4eaaa168a3 Replaces the limb grower with surplus limbs 2017-02-05 21:59:21 -06:00
oranges 3392591f83 Merge pull request #23249 from Xhuis/bluespace_bodybag_folding
Allows bluespace body bags to be folded up with atoms inside (Winter Thaw 2017)
2017-02-01 15:49:00 +13:00
Xhuis fcdb52c7e0 Bluespace body bags of holding 2017-01-25 08:52:16 -05:00
Cyberboss 5959ac32cc Refactors atom/Initialize. Fixes ruins being initialized twice (#22778)
* Refactors atom/Initialize

Captialized for compiling correctness and to be more inline with Destroy

Will now be called from atom/New if the world initialization loop in SSobj has already run. Should always call the base.

Now comes with the `roundstart` parameter indicating whether or not it was called by SSobj or atom/New

Other fixes/tweaks:
- Renamed a proc called Initialize in abduction consoles to Setup
- Removed /obj/item/device/radio/headset/headset_sec/department: Broken and referenced literally nowhere in the code
- Removed a spawn from the Initialize of turbine_computer which made literally zero sense
- Generalized the proc which fixes RND servers with no id set

Reasoning: It's better to check roundstart per function than to have to duplicate code in New and Initialize. Think of it as a safer New for atoms. If we move enough stuff to it, initial map load performance will increase due to less New calls

* Fixed a thing

* Actually, fuck the police

* >Expecting a merge without errors

* >Not calling ..() in New

* Sanic

* Fix the headset bug

* Makes sure the map loaders dew it right

* Fixes ruins being initialized twice

* Rename roundstart -> mapload

* Revert "Rename roundstart -> mapload"

This reverts commit 667c327fd2ccfa3ce4f4db52eac03f9e8b0f6812.

* Remove unrelated change

* A more direct solution to map loads

* And now we shouldnt need this warning

* Add the new var to SSobj recovery

* Revert "Revert "Rename roundstart -> mapload""

This reverts commit dee07dbd5e4696554ac43aae5b91cce743b9b9e0.

* Line endings
2017-01-23 09:37:45 +01:00
TribeOfBeavers 6a0b9a917f Adds a cloak for the HoP. (#23198)
* Adds the cloak to HoP's locker

* Adds the item to the cloak file.

* Updates the Neck files to include new sprites

* Updates the Cloak file to include new sprites
2017-01-22 01:54:42 -05:00
jughu 39c0c0c5ee Gives the janitor a bucket of paint remover (#22619)
* Update job_closets.dm

* moved it dooown
2017-01-21 15:43:02 -05:00
TehZombehz 96b6cd36d7 Adds key logging to abandoned crate explosions (#22644)
* Adds key logging to abandoned crate explosions

Adds key logging to abandoned crate explosions in order to determine who
detonated an abandoned crate.

* Moves logging under user check

User logging only occurs if there's a user to log.

* Minor grammer update

The potential for 'has detonated a abandoned crate' bothered me.
2017-01-04 07:56:02 +13:00
Joan Lung 624ea1352c Adds a wrapper for flick_overlay() (#22642)
* Adds a wrapper for flick_overlay()

* are you sure
2017-01-04 07:55:45 +13:00
RandomMarine 4f8bf3e614 Catwalks now drop two rods when deconstructed. Also fixes metal duplication exploit. (#22488)
* catwalks now drop two rods

* fixes closets dropping more metal than takes to build
2016-12-29 10:06:14 +13:00
Cyberboss 1503cd8f18 Fixes a cardboardbox runtime (#22384)
* Fixes a cardboardbox runtime

* The better way
2016-12-23 13:30:09 +01:00
oranges c007b733df Merge pull request #22160 from jughu/C-y-c-l-e-r
adds cycler shotgun to wardens locker
2016-12-15 14:32:12 +13:00
XDTM 7d1a67d0c8 Abductor tools and tool sound refactor. (#22125)
* Everything in the PR

* I'm taking that as a yes
2016-12-14 18:09:41 +13:00
jughu ed36797b79 Update security.dm 2016-12-13 06:24:07 +00:00
danno "big fucking moron" gonzales be20da226c Chaplain costumes and theater masks (#22109)
Ah hah hah ha! Ooh! Majestic! A hunter is a hunter, even in a dream. But, alas, not too fast! The nightmare swirls and churns unending!
2016-12-11 22:48:11 -05:00
Joan Lung a3be7a9226 Refactors toolspeed to be a multiplier instead of a divisor 2016-12-09 16:55:51 -05:00
Mervill 0972f78800 a_intent now uses defines 2016-12-02 22:27:30 -08:00
Cyberboss a592e68f87 Viewers always returns a list (#21676) 2016-11-22 17:23:40 -05:00
Cyberboss f2808303ee Tweaks to the snakebox (#21530)
* The word snake makes no sense to me now

* Fixes volume

* Fixes spam

* Extra memes

* incap check

* Compile before commit

* Roast me Travis

* ... And moved

* Timing changeling

* Cheri has spoken
2016-11-19 13:36:07 +13:00
Cyberboss 316070be13 Wooweee feeling rustled today 2016-11-13 12:07:04 -05:00
Mysak0CZ 87211b3e3d [ready for review]Minor locker tweaks (#21494)
* you can anchor lockers using wrench, minor tweaks

* AIs and Cyborgs procs addition

* Spelling update

* Removed silicon remote control
2016-11-13 17:14:14 +13:00
KorPhaeron 629bfb6c5e Cloaks are now cosmetic neck slot items (#21418)
* Cloaks are now cosmetic neck slot items

* Re-orders layers so bags will display above cloaks
2016-11-10 09:30:25 +13:00
phil235 b8e5bb22bc Moves bodybag closet into the closet folder where they should be.
Fixes large crate, critter crate, cardboard and metal boxes showing a nonfitting sprite when wrapped. I added two new sprite for those wrapped box-like closet, one for wrapped and one for giftwrapped.

You can now use tabs when writing on paper, by using "[tab]".

Fixes clone damage not being transfered when humanizing/monkeyizing with a dna injector.

Fixes chaplain's camera obscura showing invisible things other than ghosts.

Fixes typo in carbon/examine.dm().
2016-11-05 00:00:28 +01:00
phil235 b7efc2cef4 Make energy guns able to use burst fire. (#21005)
* Make energy guns able to use burst fire.

* Changed obj/item/weapon/gun/projectile to /gun/ballistic and the name of the folder from "projectile" to "ballistic" to avoid confusion between actually projectiles and guns.

Syringe gun, energy guns and magic guns can now use burst fire.

* fixing merge conflict shit

* fixing map conflicts

* more map conflict fix

* two tiny fixes.

* tiny tweak

* fixing merge conflicts.
Moving the practice mini egun to the gun module.
Renamed nuclear.dm to energy_gun.dm

* map conflict fixes
2016-11-02 16:16:21 +13:00
phil235 2dc956bea0 Merge branch 'master' of https://github.com/tgstation/-tg-station into Color_washing
# Conflicts:
#	code/game/gamemodes/clock_cult/clock_scripture.dm
#	code/game/gamemodes/clock_cult/clock_structures.dm
2016-10-31 19:59:00 +01:00
chowdermcarthor c7e474ccae Neck Slots (#21169)
* Added in a neckslot. Moved some tie items over to said neckslot.

* Changng some stuff to fix the new neckslot items.

* no message

* Altered comment to say that the old tie system is being kept as-is due to armbands and such instead of just avoiding conflicts.

* no message

* Changed the number for this.

* Fixed jaws of life not having a category, thus they only would show up when searched.
2016-10-26 19:03:41 +13:00
Screemonster 60180cb0fd Makes the antitamper mechanism prevent tampering 2: electric boomaloo (#20893)
* Sanitises input on abandoned crates

* Makes anti-tamper mechanisms detect tampering.

* Makes explosion trigger on take_damage() instead.
2016-10-21 15:30:46 +13:00
phil235 240f3a4c49 Adding var/list/atom_colours to /atom .
The var will be used to store the various coloring that happen for the atom so that we can separate paint coloring from color that must be inherent to the atom (an initial color for example), or from certain coloring effect like revenant's blight, mob electrocution's black color, admin edit of the color var, green color from holding the greentext item, etc.
The list has four elements, used for four categories:
ADMIN_COLOUR_PRIORITY for admin varedits and very rate color effect like holding the greentext item (and other effects that should prime over any other potential source of coloring even temporary effects).
TEMPORARY_COLOUR_PRIORITY for short color effects like revenant blight on mob, mob electrocution making you all black for a couple seconds, effects that should be appearing above paint coloring.
WASHABLE_COLOUR_PRIORITY for pretty much all paint coloring like colorful reagent on mobs, coloring turfs with paint, etc.
FIXED_COLOUR_PRIORITY for color inherent to the atom, like a blob's color, any object with a color value given in its definition.

Fixes electocution animation on mob not making the mob all black (with the skeleton overlay blinking over it)
Spray cleaner and soap can now wash paint off mobs, turfs and objects.
2016-10-19 01:51:30 +02:00