Commit Graph

1308 Commits

Author SHA1 Message Date
Bobbahbrown
0d7ef73b17 Refactors References to IRC to be TGS (#47954)
* TGS updates round 1

* TGS updates round 2
2019-11-30 03:59:42 -08:00
Pacmandevil
c7ddbb24e9 Generic Map Popups + spy glasses (#46891)
* Map initial

* removes abstract

ok

* cleanup+Ninja fixes

* Update map_popups.dm

Fixes some runtimes.

* Update map_popups.dm

* coded cringe

gonna lose

* WIP

Adds spyglasses, fixes a pretty major bug.

* more bugfixes

* more bugfixes

* fixes the lighting issue.

* fixes tracking/reorganizes it

just need to do the polishing now. I'll do it when I wake up.

* fixes and shit

should be good to go now. didn't impliment the cloning, mostly because I'd feel it'd be kinda OP.

* feedback for dummies

Fuck the entire "For Dummies" series of books seriously the way that dumb fucker on the cover looks pisses me off it's like his eyes are some shitty anime girl but without any of the ass or thighs present on normal anime girls, literally all the minuses without a smidgen of a plus god FUCK I hate him.  He knows it too, the smug bastard is smiling. "tee hee" he thinks, point up at some text we OBVIOUSLY can't see without noticing his smug ass mentioning it. "What a dumbass, can't even see the text" well guess what, idiot. I CAN see it, and I hate you all the more for it.

* ‼️

* background

remember when this was just to get a hacktoberfest tshirt lmao
2019-11-25 17:30:34 +00:00
Arkatos1
0cfde60db2 Generic living HUD (#47685) 2019-11-24 05:15:54 +01:00
Emmett Gaines
5481515dff Removes the non bitflag slot defines (#47742)
Removes the non bitflag slot defines
2019-11-17 17:52:11 -08:00
Emmett Gaines
4057c7b22c Migrates most machinery update_icon procs (#47284)
* Migrates most machinery update_icon procs

* Removes chargelevel

* Migrates newscaster's overlays
2019-11-08 17:29:23 -08:00
Arkatos1
02372ae376 Revenant hud fix (#47642) 2019-11-08 22:17:03 +01:00
skoglol
a666fa445b Alt clicking inside bag wont show turf tab (#47597)
* No more turf view.

* turfs
2019-11-07 11:22:09 -05:00
oranges
58d8c248c8 Merge pull request #47388 from Rohesie/path
Variable definition path cleanup
2019-10-26 21:20:24 +13:00
oranges
219c6b78a0 Merge pull request #47393 from kriskog/inputs3
Ui style default back to midnight
2019-10-26 14:36:34 +13:00
Emmett Gaines
3bd6505ac0 Cleans up zone_sel and fixes init selection (#47371)
* Cleans up zone_sel and fixes init selection

* Removes selecting
2019-10-25 16:39:29 -07:00
skoglol
0de1546927 Ui styles default back to midnight 2019-10-25 17:09:32 +02:00
L
42873d424e Cleanup 2019-10-25 04:26:09 -03:00
IndieanaJones
ee2c658098 [READY] Adds Pulsating Tumor Ruin and Lavaland Elites (#46566)
* Adds elite.dm and elite_goliath.dm

* Add lavaland_surface_elite_crevice.dmm

* Load elite.dm and elite_goliath.dm

* Add Glowing Crevice Ruin

* Add elite_lavaland_monsters.dmi

* Additional Sprite to artefacts.dmi

* Updated elite_goliath.dm and elite.dm

* Add actions_elite.dmi

* Cleaned up Code with help from reviewers

* Getting Jiggy with timers

* Update lavaland_surface_elite_crevice.dmm with MapMerger

* Update actions_elites.dmi for Pandora

* Add pandora.dmi

* Remove Old Icons File

* Update elite.dm, elite_goliath.dm.  Add pandora.dm

* Load Pandora.dm

* Update actions_elites.dmi

* Add legionnaire.dmi

* Update Old Files, add legionnaire.dmi

* Load legionnaire.dm

* Update All Files, Add herald.dm

* Update actions_elites.dmi

* Update legionnaire.dmi, Add legionnaire_bonfire.dmi and herald.dmi

* Load herald.dmi

* Delete elite_goliath.dm

* Update elite.dm, pandora.dm, legionnaire.dm, and herald.dm.  Add goliath_broodmother.dm

* Delete lavaland_surface_elite_crevice.dmm

* Add lavaland_surface_elite_tumor.dmm

* Update lavaland.dm

* Delete elite_lavaland_monsters.dmi

* Delete herald.dmi

* Delete legionnaire.dmi

* Delete legionnaire_bonfire.dmi

* Delete pandora.dmi

* Add lavaland_elites.dmi

* Add tumor.dmi and legionnaire_bonfire.dmi

* Update actions_elites.dmi

* Stop loading elite_goliath.dm, start loading broodmother.dm

* Load goliath_broodmother.dm, not broodmother.dm

* Update all Elite Files for Loot Drops

* Add elite_trophies.dmi

* Add hope sprites to accessories.dmi

* Update neck.dmi

* Update elite.dm

* Update screen_objects.dm

* Add lavaland_elite.dm

* Add screen_elite.dmi

* Load Lavaland Elite HUD

* Update actions_elites.dmi

* Change the Death-Detection to be Tumor-Based, not Elite-Based

* Fixing a few rare runtimes

* Update herald.dm to comply with the obj/projectile change

* Ups the cost of the tumor ruin from 0 to 5

* Implement fixes suggested by AnturK

* Compliance to the new curazzy mob verb system

* Recompliance the whole projectile change thing

* Fixed Up Elite Files Based on Antur's Suggestions

* That's why shooter was needed

* Let's get rid of shooter

* Commit changes suggested by Fox-McCloud

* Forgot a )

* Remove a H.

* Update elite.dm, herald.dm, and pandora.dm

* Add Hope's positive mood effect

* Consider neck slot item when calculating armor and for block chance

* Fix human_defense.dm

* Fix Inconsistent Indentation

* REALLY Fixin' that Indentation

* Had to find some obscure thing to fix so Travis would check us out

* While we're still here, fix this off-pixel

* Background icon fix

* This somehow got left out during the changes

* Update to elite files

* Update the Description of the Herald
2019-10-22 14:58:08 -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
Qustinnus
208a532227 Adds random parallax layers (#47054)
* parallax

* colors

* update

* done

* Update parallax.dm

* Update parallax.dm

* Update parallax.dm

* Update parallax.dm
2019-10-21 18:59:22 +02: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
766b935fef Add compile compatibility with 513, upgrade Travis (#47137)
This does all the code changes to allow 513 testing, once this all 
seems about correct it should be merged even if the servers aren't 
using 513.

All changes will be made in a backwards compatible way so that this 
whole process should be harmless.
2019-10-18 23:37:03 -07:00
Qustinnus
b021210a2f [READY] Adds a basic skill framework to Physiology. (Only applied to mining) (#46913)
* levels

* mining

* ore exp

* fixes

* epic

* Update code/game/turfs/simulated/minerals.dm

Co-Authored-By: moo <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>

* fixes message

* dumb

* shreet

* epic

* fix

* ass

* scrape

* fixes bugs

* fixes

* reset

* test

* ??

* ok bye

* fix

* Adds skills

* skill
2019-10-18 19:59:35 -04:00
Emmett Gaines
1e99190bbe Sets hud in ui screen objects (#47192) 2019-10-18 15:04:04 -04: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
Emmett Gaines
9405c840c6 Makes the hide action_button not clear the overlays every time (#47091) 2019-10-17 18:17:28 -07:00
Emmett Gaines
52022824a5 Makes tk grab not clear every overlay (#47115)
and improves the destroy proc
2019-10-17 18:12:54 -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
Jeremiah Cooley
9c826b98df Obscured turf check no longer requires density (#47015)
* Obscuring floor no longer requires desnity

* Doors now toggle PREVENT_CLICK_UNDER_1

* IsObscured loop refactor

* Explicit flag unset
2019-10-16 13:47:01 -04:00
Aleksej Komarov
5521c8ebee [READY] tgui-next: Initial PR, speedy new Air Alarm interface. (#46764)
* Initial tgui-next commit

* Improve dev server, slight changes to layout.

* Add more components, fix dragging, finalize scrubber list

* Complete an air alarm interface.

* Multiple improvements based on feedback

- LabeledList now has a "buttons" prop, where you can put buttons.
- Improved Box and Flex components
- Whole UI is now dimmable if non-interactive
- Basic documentation of components (Box and Flex so far).
- Icon and Box now accept a "color" prop.
- Routing improved in "Layout" component, you can now specify whether an interface is scrollable.

* Less harsh dimming

* Redux, Toasts

- Fixed inconsistent backend updates with Redux.
- Added Toasts which are currently unused, but are functional.

* acclimator + ai airlock ui

* Add a progress bar component, implement resizing

* Fix a zero in title bar

* Add a linter to keep shit tidy, fix danger level mapping, add some more docs

* better ai door interact ui

* final ai airlock interface

* Fix issues with code, enforce hard 120 line length cap, automerge binaries

* Implement hot module reloading

* Fix progress bar, add color support

* Fix ProgressBar baseline alignment issues

* Remove unwanted padding on the bottom of the LabeledList.

* Component improvements

- Fix baseline issues with Button and ProgressBar components
- Box how inherits props from Box
- Atomic colors and Button colors are now auto-generated, all range of colors supported

* Chem Dispenser UI, animated numbers, more style fixes

* Add an IE8 polyfill

* Intermediate state of fixing IE8

* Lots of shimming and general misery

* Fully working old TGUI chainloader for IE8, more pipeline improvements

* Support title-less Sections

* Delete Yarn, use Lerna for workspace management

* Improve maths and animated numbers

* Fix loss of focus for scrollable content, activate buttons with keyboard

* Attempt to bust the cache, grab focus on keyboard presses too

* Fix hot module replacement by manually pulling replaced modules.

* backend logging

 un-nuke line endings

changes without insane line endings

* helper procs + href support

* slight optimization

* compiles

* Redux, Hotkeys, Kitchen Sink (for UI testing), Tabs component

* Push logs to backend, small kitchen sink changes, tab fixes

* Update component reference in README

* Small fixes

* Next bunch of IE8 fixes, PureComponent optimization for Inferno

* Delete old tgui html

* Log the event of loading the old tgui

* Enable tgui logging on server by default

* Final solution

* Extract routes into a separate file, fix ChemDispenser bug

- Chem dispenser was needlessly disabling transfer amount buttons

* Disable baseline alignment for vertical tabs

* Fix tabs and box units

- Tab content was not taking full page width
- Box can now accepts strings as units, which will be treated as raw style values.

* Fix tgui on Terry

* Fix sending all logs with an "error" flag

* Some macro UI component changes and improvements

- Refer to README.md diff to see what's new

* Tooltip component

* Add support for themes, nanotrasen logo is back

* Clockwork theme hotfix

* Slight adjustment to logo positioning

* Actually proper solution for logo positioning

* Fix color maps

* tgui-next thermomachine interface

* tgui-next canister interface

* Add icon_class_name proc to asset cache

* Lots of stuff backported from actioninja's repo

* Cleanup oopsies

* Cargo UI adjustments

* Nuke lodash

* Minor fixes and cleanup

- Remove local Inferno package in favor of upstream Inferno
- Fix "initial" prop on AnimatedNumber
- Force fancy=0 for IE8
- Click-through dimmer

* Add a bat file for dummies

* podlauncher interface fix

* Update README, assert code dominance

* Clarify usage of event handlers in Inferno

* Document LabeledList.Divider

* Fukken grammar

* fixes cellular emporium readapt button not working

* fixes incorrect action on button in atmos control interface

* remove unneeded data from airlock electronics ui

* Set +x mode on bin/tgui

* Fix filename cases

- They were untracked by git on windows

* Ignore package lock, make batch more robust

- package-lock.json is very random and unreliable as fuck. Yarn was better.

* Build tgui-next in travis

* bruh

- fixes tgui error reporting

* logging cleanup + always log
2019-10-15 17:20:37 +02: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
James
fffb74bdcf [READY] Welders consume fuel when they destroy an object during attack (#46842)
About The Pull Request

Welders didn't actually consume fuel if their attack deleted an object. This was first noticed when welding space vines, in that the welder didn't consume any fuel to do so. Further testing showed that this was the case for any object that gets destroyed on hit, including APCs, Air Alarms, Girders etc.

Problem was that the code for actually consuming fuel after an attack is in the afterattack proc which doesn't actually get called if the target is QDELETED. PR moves that code to the attack proc, along with (regrettably) implementing attack_obj too. This feels hacky and reeks of duplicate code, so if anyone has a better option for how I could implement this fix I'm all ears.
Why It's Good For The Game

Fixes unintentional behavior
Changelog

cl
fix: Welders now consume fuel when they destroy an object
/cl
2019-10-13 16:41:14 +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
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
Mickyan
a4385c7c64 sanity hud (#46805) 2019-10-07 15:54:18 -04:00
spookydonut
210ba5c571 Adds linting for equipped() pickup() dropped() (#46614)
* lint some inventory procs

* lineends

* f

*  line end

* lineend

* fuck

* changes per review
2019-09-25 02:31:29 -07:00
kingofkosmos
9a91a408e1 Personal combat messages (#46388)
* Makes all combat involved visible_messages in species.dm ignore user and adds a new to_chat-message for user alone.

* Adds personal combat messages to martial arts.

* Adds personal combat messages to most things, like monkeys, aliens, humanoids and silicons.

* Fixed message to bite src, not self

* Fixed message to attack src, not self

* Changes wording on miss-messages.

* Adds audible messages to visible_messages. Also adds few missing to_chats.
2019-09-24 17:46:47 -04:00
nemvar
60d324d599 Prevent further logspam (#46503)
I added these stack_traces to check how much work would needed so these 
can be safely removed. Apparently it's way more work than I and 
probably anyone else would be willing to do. Lots of data is already 
collected so if someone wants to improve the situation, you can check 
the logs for it.
2019-09-16 19:57:42 -07:00
nemvar
84bee81790 Unscrambles melee_attack_chain 2019-09-07 16:12:01 +02:00
nemvar
78af0c7937 Moves ling code out of click code. (#46130)
* Moves ling code out of click code.

* . = ..()

* removesuneededcode
2019-08-31 03:17:39 -07:00
Rob Bailey
2029163d33 playsound vary boolean define conversion (#46254)
About The Pull Request

Converts every single usage of playsound's vary parameter to use the boolean define instead of 1 or 0. I'm tired of people copypasting the incorrect usage.
Also changes a couple of places where a list was picked from instead of using get_sfx internal calls

This was done via regex:
(playsound\(.+,.+,.+, ?)1( ?\)| ?,.+\)) to match 1
(playsound\(.+,.+,.+, ?)0( ?\)| ?,.+\)) to match 0
full sed commands:
/(playsound\(.+,.+,.+, ?)1( ?\)| ?,.+\))/\1TRUE\2/ 1 to TRUE
/(playsound\(.+,.+,.+, ?)0( ?\)| ?,.+\))/\1FALSE\2/ 0 to FALSE

I'm not very good with regex and these could probably be optimized, but they worked.
Why It's Good For The Game

Code usability
2019-08-30 18:45:20 +12:00
Akrilla
c5b11dc283 Adds cancel buttons to inputs (#45825)
About The Pull Request

Adds cancel buttons to input boxes that didn't have them before.
Why It's Good For The Game

Good UX.
Changelog

cl
add: More cancel buttons.
/cl
2019-08-21 11:25:41 +12:00
nemvar
a40ee7d303 Changes hulk code. (#45866) 2019-08-17 00:55:27 -07:00
oranges
45175f0d08 Merge pull request #45705 from nemvar/removeslasereyes2
About The Pull Request

Some mutation changes
Laser eyes and TK now use signals.
species_allowed now uses less lists.
Adds a message when you shoot with laser eyes.
Why It's Good For The Game

New and improved. Click code should be as straight forward as possible.
Changelog

cl
tweak: Laser eyes now generate a message when shot.
code: Cleaned up mutation code.
/cl
2019-08-09 11:33:04 +12:00
William Wallace
f94756bdbf show correct attacker when being attacked by somebody with an item (#45783) 2019-08-07 15:53:44 -07:00
kingofkosmos
c3ea51908d Adds "you" to local visible_messages (#45631)
* adds "you" to some combat visible_messages.

* more you-messages and attack verbs to present tense.

* small fixes

* more additions and small fixes

* few message tweaks

* Fixes a typo and few other wordings.
2019-08-06 02:15:34 -07:00
nemvar
3dd9afe678 Some mutation changes
Laser eyes and TK now use signals.
species_allowed now uses less lists.
2019-08-04 17:57:54 +02:00
nemvar
449e5d38e6 This turns butchering into something that resembles a component. (#45299)
* This turns butchering into something that resembles a component.

* Changes how the recycler works.
It no longer uses butchering in disgusting ways.

* I guess this works? It's not pretty though.

* How the fuck...
2019-07-26 23:57:37 -07:00
skoglol
718973fb9f Removes the assimilation/hivemind gamemode (#45316)
* Initial pass

* comment.

* stray ,

* stray define begone
2019-07-27 00:08:53 +02:00
Garen Crownguard
534a9140aa merge 2019-07-05 17:59:38 -05:00
nemvar
f81ec3907b Remove unneeded get_organ_target proc (#44931)
Removes the get_organ_target proc because I'm to lazy to fully
refactor laser eyes. It is embarrassing that we have a proc like this
in the code. Also makes mob code less cursed, one proc at the time.
2019-07-03 21:39:34 -07:00
kingofkosmos
81a0518474 * warning-spans added to cases of "You do not..." and "You don't..." 2019-06-25 22:05:55 +03:00
kingofkosmos
fb9731492c * extra spaces removed from "span class = '" --> "span class='"
* warning-spans added to cases of "You need..."
2019-06-25 21:03:25 +03:00