Commit Graph

565 Commits

Author SHA1 Message Date
Emmett Gaines
53024590de Can pass refactor (#48659)
* Makes all CanPass procs call parent

* Makes CanPass more extendable and gives the mover a say in the matter

* Replace CanPass with CanAllowThrough to use the new system

Regex replace `(?<!proc)/CanPass\(` => `/CanAllowThrough(`

* Simple optimization pass
2020-01-08 21:31:49 +01:00
Rob Bailey
8c6c8ca328 Ton of small tgui-next uis (#48470)
* small uis

intellicard

slime body swapper + wipe button in intellicard

gulag teleporter

notification preferences

mulebot

dropdown scrolling

working scroll focus

window size change

build

sleeper

emergency shuttle console

eightball revert

small fix

support old pda as well

typo fix

rebuild

* readme update

* spelling

* rebuild
2020-01-03 08:10:16 +01:00
AnturK
c06a1324b3 Another bunch of runtime fixes. (#48315)
* Pipe init runtime

* Modular computer explosion runtime.

* Waterbottle thrown by explosion runtime.

* Spark runtime. Should systems continue after deletion ?

* restore ghost appearance runtime

* parallax update timer runtime.

* borg unbuckling runtime

* surgery cancel runtime. FALSE is not a null.

* relic self deletion runtime.

* dog collar runtime

* Another part of that buckled_mobs robot runtime.

* Let's go over all of these

* free ()

Co-Authored-By: MrPerson <spamtaffic@gmail.com>

Co-authored-by: MrPerson <spamtaffic@gmail.com>
2019-12-21 18:28:19 +01:00
skoglol
4a487ca803 Refactors language holder (#48106)
* Language holder refactor

* Ironed out bugs, testing

* adds sourced language, blocking list. more useful helpers.

* Replaced old usage

* Adresses requests

* Autodoc attempt #1

* Fixed monkeyize (again)

* Travis happy

* Language menu updated

* Final pass
2019-12-18 22:22:12 +01:00
Buggy123
6d4d152ad1 Moves "Observe" verb to ghost category 2019-12-15 02:49:59 -05:00
Fury McFlurry
6b0af0febe Adds three new moth wings/markings (#48129)
* Adds three new wing types, and markings. 

wings and markings match eachother.

* Adds wings, actually ™️

* Adds a single empty line to soothe the bot.
2019-12-08 21:51:05 +01:00
nemvar
f87f7091aa Fixes lightgeist runtime (#48116)
* Silences lightgeist runtime

* Fixes it properly

* death instead of delete
2019-12-06 11:51:17 +01:00
skoglol
ad0d270d58 Cleans up observer mind on control transfer, ghosting, DNR, suicide (#47826)
* Fixes admin ghost drag

* Covers more cases

* And assume control
2019-11-18 17:59:47 +00:00
skoglol
b20f151c0c Some ghost improvements (#47700)
* Ghost face direction and restoring ghost name.

* name wont reset

* Overrides canface
2019-11-13 17:52:00 -08:00
AnturK
c20b4d5ab2 Replaces lentext with length (#47585) 2019-11-07 11:42:33 -05:00
Shaps
7550c3eda5 Lets people start messages with asterisks in deadchat (#47144)
* remove check_emote from observers

* dont flip! or spin. actually, do do those things if you want

* fr
2019-10-26 20:55:14 +13:00
skoglol
c949b059f2 Fixes pointing at something in darkness/past walls (#47379)
* Fixes pointing in darkness/past walls

* stray whitespace
2019-10-25 16:35:57 -07:00
spessbandit
e3d1e5c53e ghosts can't use monitors; dextrous animals can climb crates; fixes atrocious spelling (#47262) 2019-10-22 04:37:35 -07:00
skoglol
938e66f62c Adds sorting to most input() lists (#47117)
* Adds sorting to most input() lists.

* Sorted some global lists, added more input sorting

* Should now use correct sort everywhere.

* compiles

* Last fixes.
2019-10-22 04:28:42 -07:00
81Denton
f5bd6a381d Merge pull request #47052 from kingofkosmos/misc_span_fixes1
Misc span fixes
2019-10-20 18:46:54 +02:00
spookydonut
4e8ff18b07 Fix Travis grep script to use PCRE to actually match things (#47065)
Several of the greps were missing the `-P` switch which caused them to 
fail to match things. The EOL grep also wasn't working right so I 
replaced it with the one I added to TGMC.
2019-10-19 10:21:05 -07:00
Emmett Gaines
8982f509b5 Refactors screen object update_icon to call parent (#47094)
* Refactors screen object update_icon to call parent

And makes update_icon an /atom proc

* Cleans up some missed null checks

The student teaches the master
2019-10-17 18:21:50 -07:00
kingofkosmos
52325eda25 Merge branch 'master' of https://github.com/tgstation/tgstation into misc_span_fixes1
# Conflicts:
#	code/game/machinery/Sleeper.dm
#	code/game/machinery/doors/airlock.dm
#	code/game/objects/structures/beds_chairs/chair.dm
#	code/game/objects/structures/lavaland/geyser.dm
#	code/modules/antagonists/clockcult/clock_effects/clock_sigils.dm
#	code/modules/antagonists/clockcult/clock_mobs/_eminence.dm
#	code/modules/paperwork/contract.dm
2019-10-17 06:02:06 +03:00
KomradeSpectre
9ff071af60 Clockcult Removal 2019 (#47057)
* Nanotrasen fires the Wave Motion Gun at the Clock Cult

* Fixes a random changelog appearing from the reebe void.

* Fixes a wrong type reference regarding the bronze sheets in the Lavaland Ruin for it.

* Fixes redundant cells after CC removal in ruin by populating them with varied ore chunks, or destruction clutter.

* why is it /obj/item/stack/sheet/metal but not /obj/item/stack/sheet/iron

* Fixes the lavaland ratvar ruin to have fluff variant structures of deleted shit it referenced instead what I thought was reasonable.
2019-10-15 10:13:41 +02:00
kingofkosmos
228b4282ca Merge branch 'master' of https://github.com/tgstation/tgstation into misc_span_fixes1
# Conflicts:
#	code/game/objects/items/devices/PDA/PDA.dm
#	code/modules/mob/dead/new_player/new_player.dm
2019-10-13 15:21:17 +03:00
skoglol
b68abe7e6d Adds random character when antagonist preference (#46952)
About The Pull Request

Well known statics rejoice! You can now choose to have random name/body/age/gender whenever you roll roundstart antagonist.

Since player mobs are generated before antag datums are handed out, I added a list that collects minds chosen as antags during pre_setup() to keep track of this.

"Other" was also missing from the random gender, added it.

Wizard, clown op, nukeop, latejoin and midround antags are excempt.
Why It's Good For The Game

Some static namers get metagamed to the extreme when antagonists, this should help alleviate that while allowing them to keep static naming for the RP. Keep in mind all conversion, midround and latejoin antag rolls are excempt, this is not a guarantee someone is a non-antag.
Changelog

cl Skoglol
add: Random name/body/age/gender when roundstart antagonist preference added.
add: Random gender will now have a chance of picking "Other".
/cl
2019-10-13 17:00:17 +13:00
Iamgoofball
95ab416ce0 [s] fixes href exploit to early join the game before roundstart (#47029)
fixes href exploit to early join the game before roundstart
2019-10-13 16:46:11 +13:00
kingofkosmos
280d416d4f Adds missing spans, missing periods and missing span endings. Also changes spans to suit the situation better. 2019-10-12 19:34:11 +03:00
Rob Bailey
e1683f674f Merge pull request #46978 from willox/duplicate-variable-stuff
removed a bunch of duplicate member variable definitions and entirely duplicated types
2019-10-12 03:44:15 -07:00
nemvar
c38a7a3bb5 Removes a bunch of var/ in procs (#46946)
* Removes a bunch of /var in procs

* reset this

* Why wasn't this already?
2019-10-10 04:20:27 -07:00
William Wallace
c00d457482 remove duplicate /datum/sprite_accessory/hair/bun2 &/datum/sprite_accessory/hair/bun3 2019-10-08 23:48:04 +01:00
AnturK
06fd043ab6 Fixes adding antag huds to newplayers. (#46555) 2019-09-17 10:53:58 -04:00
spookydonut
00fa882721 Changes some typed loops to typeless loops (#46444)
* typeless loops

* new_player

* eol
2019-09-15 00:26:55 -07:00
cacogen
1f010e7144 Selectively randomisable characters (#46108)
* Selectively randomisable characters

* it's a list now

* this doesn't work

* it's totally fucking fucked mate big time

* it works

* so sick of this goddamn pull request and yes i know this is a retarded way to do this it didn't work the other way

* anturk forestalls the inevitable suicide

'associative lists are more performant'

* final changes anturk requested

'remove all the "in randomise" and it's ready'
2019-09-06 08:50:12 +02:00
tralezab
aec7efb516 fixes cursed moths (no wings) (#46158)
* cursed

* rgwgawrgaewgawrerhaethej cjgj

* okay final commit
2019-08-26 18:07:11 -07:00
Rob Bailey
26b04ede42 Obliterates item_color: new washing machine functionality edition (#45961)
About The Pull Request

Completely removes item_color and the clusterfuck of bad programming it caused.

In places where item_color was used for entirely unique purposes it was split off and renamed to a new var on that typepath only, or refactored so it wasn't needed

In places where item_color was used as a dye color, it was converted to the new dye_color var

In places where item_color was used as the worn overlay it was removed and instead now icon_state is always used as the clothing overlay.

A new mob_overlay_icon var was added for manually setting where the mob overlay icon path is for specific items.

Moved some mob overlay files relating to clothing to their own directory as well for organization purposes.

Totally refactors washing machines, instead of the horrible abortion that was iterating through the typepath it now uses a registry of dye results.

Some bonus functionality to come out of this:
the washing machine now supports arbitrary dye colors.
Why It's Good For The Game

It's been 4 years since the "this should be deprecated soonish" comment was added, and this var is a shitpile of confusion if you just trace the usage of it.
Changelog

cl
add: Washing machines now support arbitrary dye color
add: Washing machines now dye nearly every item.
refactor: lots of backend changes to clothing overlays, report any issues
/cl
2019-08-26 20:38:11 +12:00
tralezab
aaca9360b8 [READY] LIZARD WINGS for the flight potion, flight potion no longer makes you new species (#46037)
* HEY RACISM GOT A SPRITE ACCESSORY FOR YA

* angel + dragonborn > givespeciesflight

* more review stuff

* last of the review stuff

* compile

* readds my fix

* Boolean numero uno

* Boolean numero dos
2019-08-24 00:11:25 -07:00
Twaticus
371d87c06b undies (#45871) 2019-08-13 17:17:13 -07:00
Twaticus
9dfa78cb47 Underwear color (#45630)
About The Pull Request

    Changes our current underwear selection to greyscale so you can color them any way you like, just like hair.

    Removed duplicate underwear types that only served as a few color options(female_yellow, male_blue, ect.) Underwear with designs are unaffected(female_uk, male_commie, ect.)

    Added a new option in dressers to change underwear color.

    Changed some underwear names to fit the new option(female_red is now female_lace, ect.)

A9hAqkxgin
If all is well i plan on adding this to undershirts and socks too.

also HUGE thank you to nonfictiongames for the help!!!!
Why It's Good For The Game

More character customization in roleplaying game GOOD
Changelog

cl
add: Underwear can now have any color. (Your character will most likely be nude now so check your prefs!!)
add: Underwear color option in dressers
tweak: changed some underwear names
imagedel: deleted duplicate underwear

/cl
2019-08-09 11:04:58 +12:00
StonebayKyle
5092bf94f4 Adds a species randomizer to character setting screen (#45658)
* WIP (not working) version of species randomizer in character settings

* Adds a WORKING species randomizer to character settings

* Re-orders random species code to be ahead of random name and random body code.

* Fixes species naming conventions by forcing random name onto those who choose to always be a random species

* Fixes dumb html mistake
2019-08-08 01:50:52 -07:00
tmtmtl30
28f1567835 Adds unused mothman markings (#45575)
Ripped the sprites from the wing files and added them as character creator options.
2019-08-02 17:17:21 -07:00
tralezab
378c8f17d5 unless? (#45461) 2019-07-25 23:25:27 -07:00
ShizCalev
6e44bd3a93 Merge pull request #44796 from kingofkosmos/addswarningspans
Adds warning-spans
2019-07-02 00:47:43 -04:00
4dplanner
146be2c828 Do not resuscitate is permanent (#44850)
* Do not resuscitate is permanent

* Hope -> Save Me
2019-06-29 01:40:45 +02:00
kingofkosmos
ec5c82029a * "Is already...", "Can not...", "Not when..." etc. 2019-06-27 06:15:43 +03:00
vuonojenmustaturska
8ddc9677c7 examine-code refactor (#44636)
* 1/4 done? maybe?

* more

* stuff

* incremental stuff

* stuff

* stuff & things

* mostly done but not yet

* stuffing

* stuffing 2: electric boogaloo

* Git Commit and the Kingdom of the Crystal Skull

* make it actually compile

* found more stuff

* fixes

* fix AI laws appearing out of order

* fix windows

* should be the remaining stuff

* this time for real

* i guess it should compile too

* fix sechuds
2019-06-19 22:07:57 +02:00
Rowelll
cdc8aa1c84 Removes black stockings (#44374)
About The Pull Request

my second fetish content PR about socks, this one removes black stockings from Affected's PR (#44274)
Why It's Good For The Game

Black stockings are literally "Striped Thigh-highs" and thus they take up space. (it's not like it's just 3 lines of code and some meaningless bytes)
Changelog

cl Rowell
del: Removed black stockings
/cl
2019-06-17 13:36:53 +12:00
AffectedArc07
d39a8b14a3 New midround join screen (#44193)
About The Pull Request

This pull request adds in a new join menu, ported from Oracle F. It categorises jobs into departments and enlarges the buttons.
2019-06-16 08:23:51 +12:00
AnturK
33dbe68452 Fixes forced say custom emotes properly. (#44328) 2019-06-09 18:15:39 -04:00
Rowelll
e68b9ab43d Adds bee socks (#44331)
* some changes your parents don't want to see

* bee

* (wrong branch)
2019-06-06 15:13:07 +02:00
actioninja
c6193255f7 renames the func to make it clearer it has extra logic in it 2019-06-04 19:41:41 -07:00
actioninja
0bdeb6c070 fixes gay baby jail 2019-06-04 14:12:02 -07:00
AffectedArc07
3a3fa4f84a Stockings (#44274)
cl AffectedArc07 and Shazbot
imageadd: Added 9 new sock styles
/cl
2019-06-04 09:55:00 +12:00
skoglol
130d99dc29 Makes ghost hud default on, darkness default to NV levels. 2019-05-28 22:37:01 +02:00
vuonojenmustaturska
5808ebf45a Update sprite_accessories.dm (#43984) 2019-05-16 15:00:55 +02:00