Commit Graph

165 Commits

Author SHA1 Message Date
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
Cyberboss
78ee754da3 Merge upstream 2017-04-01 23:38:37 -04:00
Robustin
797cdf5f5f Stops Spacesuit Cargo Orders from notifying admins (#25735) 2017-04-01 21:33:12 -03:00
bgobandit
7ddfe7d65b Bluespace polycrystals and plastitanium are in the exports list now. (#25635) 2017-03-31 20:18:07 +02:00
Cyberboss
cd050a38f0 Merge branch 'master' of https://github.com/tgstation/tgstation into TiredOfTheInconsistency 2017-03-24 16:34:20 -04:00
Iamgoofball
361d4f7547 Removes the undertale skeleton toy (#25422)
* GOOFBALL'S OUTDATED MEME PURGE #2: Undertale

🆑 GOOFBALL'S OUTDATED MEME PURGE
fix: Remember when undertale was the popular meme with le Sans and le Paprika and le doggos? xddddDDDDDDD
fix: Removes their shitty meme toy that no one uses. Again.
/🆑

* Update arcade.dm

* Delete papyrus_1.ogg

* Delete papyrus_10.ogg

* Delete papyrus_2.ogg

* Delete papyrus_3.ogg

* Delete papyrus_4.ogg

* Delete papyrus_5.ogg

* Delete papyrus_6.ogg

* Delete papyrus_7.ogg

* Delete papyrus_8.ogg

* Delete papyrus_9.ogg

* Delete sans_1.ogg

* Delete sans_10.ogg

* Delete sans_2.ogg

* Delete sans_3.ogg

* Delete sans_4.ogg

* Delete sans_5.ogg

* Delete sans_6.ogg

* Delete sans_7.ogg

* Delete sans_8.ogg

* Delete sans_9.ogg

* Update organ_internal.dm

* Update packs.dm
2017-03-25 09:16:20 +13:00
Cyberboss
d0bfbc3e13 Rename ticker to SSticker 2017-03-22 10:48:25 -04:00
Haevacht
280c81f89e Bicycle price increase
It's stronger than a flightsuit, keep it at meme-tier.
2017-03-21 19:17:21 +11:00
Iamgoofball
e5c18c7e89 The Space Bicycle Consortium has ended the price-gouging going on at your local station (#24964) 2017-03-13 10:31:54 -04:00
coiax
abdbf9e4c5 Adds cyan glowsticks (#25015)
🆑 coiax
add: Glowsticks can now be found in "Swarmer Cyan" colors.
/🆑

because apparently adding the colour cyan to swarmers was too potential
to cause meta or some shit idk
2017-03-13 03:26:04 -04:00
Lzimann
5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
coiax
f88184937a Glowsticks (#24761)
* Ports glowsticks from Bay

* Adds glowstick sprites

* Glowsticks in party crates, maint and emergency toolboxes
2017-03-08 02:38:15 -06:00
coiax
2d288690e1 New Librarian traitor item: Haunted Magic Eightball (#24607)
* New Chaplain traitor item: Haunted Magic Eightball

🆑 coiax
add: Toy magic eightballs can now be found around the station in
maintenance and arcade machines. Ask your question aloud, and then
shake for guidance.
add: Adds new Chaplain traitor item, the Haunted Magic Eightball.
Although identical in appearence to the harmless toys, this occult
device reaches into the spirit world to find its answers. Be warned,
that spirits are often capricious or just little assholes.
/🆑

* Compiles, fixes the bugs

* Adds toy eightballs to loot, toys; adds haunted to uplink

* Every 3 minutes

* Noiseless, random haunt, limited stock

* Added sprites for eightball

* Removed notice to replace sprites

* Librarian only
2017-03-08 12:14:44 +13:00
oranges
904472d93c Merge pull request #24718 from coiax/hologram-secondary
Demotes HOLOGRAM to secondary flag
2017-03-08 09:25:21 +13:00
Robustin
5ff8844ded DNA Vault is a little more obtainable, new powers (#24625)
* Vault Update

* Vault Pack Includes Probes

* Robustin code

* I need sleep

* Fast Attack Power

* Yea I really need sleep
2017-03-07 11:52:13 +01:00
PKPenguin321
aa8bbe6e39 more consoles make appropriately colored light now (#24688)
* requests consoles make green light now

* hex

* i forgot hex needs ""

* cargo consoles are orange

* stock exchange green
2017-03-06 16:27:15 -06:00
Jack Edge
5aaa11e825 Demotes HOLOGRAM to secondary flag
No difference mechanically, but frees up a bitflag slot. Reminder that
if there are no secondary flags on an object, the check is the same as
checking a var is null.

There are only a handful of hologram items in place at any time, they
don't need a full slot in flags.
2017-03-05 21:52:20 +00:00
coiax
b3a52289ef Posters refactor (#24548)
* Posters refactor

- Posters now use a simple type-per-poster definition, rather than some
large global lists requiring sprite numbers to be the same as entries in
a list.
- Putting a specific poster on a map now simply means putting the
specific type that you want, rather than var editing (often
unsuccessfully).
- There are random all-posters, random contraband posters, and random
official posters for mappers too.
- Ripped posters are now their own type.
- The potential to make additional classes of posters has been left
open, I'd like to move a bunch of the advertisement posters to their own
catagory, and clean up the "official" category to be more obviously
on-brand.

* Updates DeltaStation

* Changed the maps of Metastation

* OmegaStation posters updated

* Updated Pubby posters

* Map merged?

* Updated away mission and ruin posters

* Removes vars from garbage
2017-03-03 11:16:19 +13:00
Iamgoofball
93f9b713aa Adds a Bicycle to the game (#24431)
* 自転車をゲームに追加する

* adds file

* dfssdffds

* cdvsffsg

* fixes

* Update bicycle.dm
2017-03-02 19:56:44 +13:00
Joan Lung
96dab8601b Merge pull request #24529 from Robustin/supplydemand
Combat Shotgun Price Increase
2017-02-28 19:27:17 -05:00
Robustin
e2eb742a16 Combat Shotgun Price Increase 2017-02-27 14:37:22 -05:00
coiax
82e123a227 Adds plastic, makes plastic flaps constructable and deconstructable (#24257)
* Adds plastic, makes platic flaps constructable

🆑 coiax
add: Cargo can now order plastic sheets to make plastic flaps. No doubt
other uses for plastic will be discovered in the future.
/🆑

Later maybe we can make cable coils use plastic and metal, rather than
metal and glass. And make plastic tables. And make foam darts use
plastic rather than metal. And make spray bottles out of plastic. And
cheap plastic tables. And cheap plastic chairs.

Why? Because plastic makes sense as a material that you can make stuff
out of, and those DAMNED PLASTIC FLAPS AREN'T CONSTRUCTABLE.

* New plastic sheets sprite (STOLEN FROM BAY)

* Making plastic flaps takes time

* Constructable flaps

* Deconstruction time like walls
2017-02-25 15:54:09 +13:00
uraniummeltdown
bf0f599a05 add science crates from /vg/ (#24349) 2017-02-24 12:08:36 -06:00
coiax
de0b29dea6 Partially grown clones are horribly disfigured + cardiac arrest refactor (#24106)
add: Refactors heart attack code, a cardiac arrest will knock someone unconscious and kill them very quickly.
add: Adds corazone, an anti-heart attack drug, made by mixing 2 parts Phenol, 1 part Lithium. A person with corazone in their system will not suffer any negative effects from missing a heart. Use it during surgery.
add: Abductor glands are now hearts, the abductor operation table now automatically injects corazone to prevent deaths during surgery. The gland will restart if it stops beating.
fix: Cloning pods always know the name of the person they are cloning.
add: You can swipe a medical ID card to eject someone from the cloning pod early. The cloning pod will announce this over the radio.
del: Fresh clones have no organs or limbs, they gain them during the cloning process. Ejecting a clone too early is not recommended. Power loss will also eject a clone as before.
del: An ejected clone will take damage from being at critical health very quickly upon ejection, rather than before, where a clone could be stable in critical for up to two minutes.
add: Occupants of cloning pods do not interact with the air outside the pod.


After @Cyberboss 's multi-pod cloning got merged, I scrapped the multi-pod stuff from my own work, and brought back the maiming.

Early ejected clones being partially disfigured is a cool feature.

This penalises (but does not completely remove) speed cloning, as there is a window where the clone can be ejected without missing any limbs or organs. Otherwise the clones will probably die due to lack of lungs or heart.

Heart attacks are more lethal, there's an easy medicine for treating them, if chemistry have it on hand.

Clones not reacting to the air around them is a buff to plasmamen (although they'll still burn to death once they're ejected in an oxygen atmosphere).
2017-02-21 11:13:54 +13:00
Cyberboss
d904e06f72 Fixes hologram exports (#23642) 2017-02-03 19:47:16 -06:00
jughu
e8b621e130 Tweaks some prices of cargo exports (#23412)
* Update sheets.dm

* Update organs.dm

* Update organs.dm

* Update sheets.dm

* badum tss
2017-01-30 10:31:12 +13:00
bgobandit
48bc0bc97e Adds some stuff for the librarian to do (#23157)
The library computer can now upload scanned books to the newscaster, opening up a whole new wood world.

The library computer can now print corporate posters as well as Bibles. Removes corporate posters crate from cargo, as it is now obsolete (and literally no one bought it anyway).

add: The library computer can now upload scanned books to the newscaster. Remember, seditious or unsavory news channels should receive a Nanotrasen D-Notice!
add: The library computer can now print corporate posters as well as Bibles.
del: Cargo no longer offers a corporate poster crate. Nobody ever bought it anyway.
2017-01-30 09:46:08 +13:00
coiax
608232d288 Soapstones: Leave messages for the future crew (#23176)
* The beginnings of soapstones

* Compilation

* Sprites!

* White text

* Persistence

* More tweaks

* Why isn't it working

* Removes author name

* Random names, more checking for nulls

* VARIABLE MESSAGES

* Fixes icon conflicts

* Limited soapstone uses, purchase more at cargo

* No carving if empty
2017-01-28 17:48:55 +01:00
Ultimate-Chimera
7242cec07a Update packs.dm 2017-01-19 17:19:24 -08:00
Ultimate-Chimera
875a9b157e adds a new costume crate 2017-01-19 17:05:09 -08:00
AnturK
6c0dc9db15 Fixes bsa artillery construction issues. (#23011)
* Fixes bsa artillery construction issues.

* 1 -> TRUE

* Nothing to see here
2017-01-16 20:57:24 +13:00
bgobandit
714188a6ad The chameleon stamp should properly deny cargo manifests now. (#22867)
* Chameleon stamps should properly deny cargo manifests.

* this bugged me
2017-01-11 12:48:12 +13:00
jughu
5e6a6011e1 Adjust cargo crate prices (#22318) 2016-12-20 21:57:51 -06:00
Cyberboss
ac1b6b1a31 Readds some of the harder to access freon sources (#22181)
* Revert "Freon Removal"

* Implements XDTM's fix
2016-12-21 10:04:55 +13:00
jughu
79b09b7094 makes rad crates a little more usefull (#22226)
* Update packs.dm

* cyka blyat

* >:(
2016-12-16 14:50:15 -05:00
Fox McCloud
11351543ee Adds Random Seeds and a New Trait and Further Gene Datumizing (#22050)
* Adds Random Seeds and a New Trait

* duplication

* weed rates and chances

* fixes rates

* faster random reagents
2016-12-13 15:00:42 +13:00
KorPhaeron
d854909e0f Freon Removal (#22025)
* Freon Removal

* Removes more freon sources
2016-12-08 14:40:07 +13:00
Mervill
09ea5ad2e5 w_class now uses defines 2016-12-01 21:33:14 -08:00
Mervill
b5578df27d corrects some defs without leading slash (#21843) 2016-11-30 20:05:14 +13:00
KorPhaeron
f2d5954c6f Cargo Points 2016-11-15 15:32:38 -06:00
KorPhaeron
c1e4df59a2 Merge remote-tracking branch 'refs/remotes/tgstation/master' into heist 2016-11-06 23:45:48 -06:00
Cheridan
52f72a6fe9 Merge pull request #21335 from Tacolizard/patch-16
By request, added some more clothing to the biker crate
2016-11-05 11:06:04 -05:00
kevinz000
c98d1d3b21 Update packs.dm (#21362) 2016-11-05 11:53:43 -04:00
Tacolizard
90c1f32b25 Update packs.dm 2016-11-02 08:46:59 -07: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
Tacolizard
8a57efc8ab very minor atv crate tweaks (#21244)
the atv crate has been changed from a plain crate to a large one because realism.
the price has been lowered from 3000 to 2000 
the crate includes a leather overcoat and skull bandana so you can make a biker gang
it's been renamed the Biker Gang Kit
2016-11-01 11:35:24 +13:00
Cheridan
aaac8027c9 Merge pull request #21178 from Tacolizard/patch-11
Adds a new contraband crate to cargo
2016-10-27 15:12:36 -05: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
Tacolizard
ab0bff675a Update packs.dm 2016-10-25 13:00:38 -07:00
Tacolizard
4979462d7e Update packs.dm 2016-10-24 12:49:16 -07:00