Commit Graph

1126 Commits

Author SHA1 Message Date
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
Garen Crownguard
3a37d0322c merge 2019-06-23 20:39:24 -05:00
Arkatos1
8cc57403b8 Action button swapping (#44658)
* Swapping action buttons

* Ordered exception catch for cult blood magic
2019-06-23 21:39:53 +02:00
ShizCalev
aeb1c47328 Merge pull request #44663 from XDTM/CtrlAlertMind
Hypnosis and Abductor mind control now have alerts
2019-06-20 18:14:18 -04:00
ShizCalev
d4a3f06ecb Merge pull request #44666 from Arkatos1/SlimeHUD
SlimeHUD
2019-06-20 18:09:42 -04: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
Arkatos1
2b8baf88ca SlimeHUD 2019-06-19 21:21:45 +02:00
XDTM
b5f1d36287 Hypnosis and Abductor mind control now have alerts 2019-06-19 18:28:44 +02:00
Razharas
c55145299a Componentizes menucrafting (#44221)
Fixes menucrafting opening a new window when finishing construction
2019-06-04 17:01:45 -04:00
Emmett Gaines
c3f95024b2 Gets rid of the GetComponent macros (#44220)
* Removes the GetComponent macros

* Regex replacement for GET_COMPONENT

Search: `GET_COMPONENT\( *(.+?) *, *(.+?) *\)`
Replace: `var$2/$1 = GetComponent($2)`

* Regex replacement for GET_COMPONENT_FROM

Search: `GET_COMPONENT_FROM\( *(.+?) *, *(.+?) *, *(.+?) *\)`
Replace: `var$2/$1 = $3.GetComponent($2)`
2019-06-04 17:39:58 +02:00
Garen Crownguard
caa683e5b1 merge 2019-06-04 07:04:21 -05:00
Garen Crownguard
4b2fc4cc05 Removes Hygiene 2019-06-04 06:25:51 -05:00
Rob Bailey
0d86efdb52 Widescreen toggle support (doesn't actually enable it) (#43754)
cl
add: Added support for a widescreen toggle, actual widescreen will require a config change.
tweak: Auto-fit view is now the default. This will only apply to new players.
/cl
2019-06-03 11:11:09 +12:00
oranges
806e7ff66c Merge pull request #44209 from vuonojenmustaturska/blobrerolls
Buffs blob rerolls by allowing them to choose from 4 different strains
2019-06-02 09:40:12 +12:00
PKPenguin321
551b0aa111 Click intecepts stop ghost teleports
Port of https://github.com/tgstation/TerraGov-Marine-Corps/pull/1690
2019-05-30 11:02:36 -07:00
vuonojenmustaturska
8f9686d77d BLOB BUFFS 2019-05-30 19:35:16 +03:00
vuonojenmustaturska
6584dc926f this too 2019-05-24 15:14:42 +03:00
vuonojenmustaturska
2219250476 remove /client/mousemove 2019-05-23 22:28:01 +03:00
RaveRadbury
ade1a97e7c [READY] pAI HUD Overhaul (#43741)
* Initial overhaul work and some fixes.

Running into a bug with getting healthanalyzer variables to pass.

Signed-off-by: RaveRadbury <risforradbury@gmail.com>

* Fixes some typos, shortens a message

* Update pai.dm

* Prevents pAI OS from coming up in other windows.

* Moved around some camera stuff, trying to fix lost pAI zoom

* Fixes pAI zoom, adds camera flash

* PAI buttons grey out if they need software first

* Better greying out of buttons in PAI

* Removes unimplemented HUD stuff

* Should make pAI Host Scan require being held (like DNA check)

* Includes host scan as a greyed out hud

* Improved button loop

* Fixes pda icon off-set

* Fixed inconsistent indentation

* Replaces outdated and innacurate checks for scans

Thanks to Cobblestone for the help

* Refactor pAI hud button grey out

* Changes browse to browser

* cleans up the code, gets rid of an error

* Removes indent from #undef

* Removes an unneeded text-align:right
2019-05-18 23:06:29 +02:00
oranges
7e9ddc2fe4 Merge pull request #43893 from Flatgub/RCL_GUI_candidate
Implements RCL radial wiring menu
2019-05-14 11:15:57 +12:00
vuonojenmustaturska
e2104ed3c8 Blob refactor (#43872)
* blob refactor

* blobtype -> blobstrain

* fixes, chemical -> strain

* only /mob/living experience Life, blobs and other cameras can process if they need to

also other fixes

* call_life goes out

* ispath thing
2019-05-12 23:59:36 +02:00
Flatgub
14e68bd66a Implements RCL radial wiring menu 2019-05-09 22:25:34 +10:00
vuonojenmustaturska
fb45b7a017 Turns trait accessors into defines, fixes some bugs (#43820)
It's free performance.
2019-05-06 19:44:05 -04:00
RaveRadbury
da15d9aa27 [Ready]Restores pAI mouse hotkeys (#43734)
* Adds shift click to _onclick/pai.dm

* Restores all mouse hotkeys

Turns out pAI's have a lot of stuff disabled on another level, so.

* includes timeout checks

* Removed statuses that pAI don't experience

* Calls the parent
2019-05-05 19:42:34 -04:00
skoglol
f97c1bc1e5 Non-station AI can no longer interact off their z-level. (#43710) 2019-04-29 10:46:15 -04:00
RaveRadbury
701d0c78c0 [READY] pAI Journalism Update (#43654)
* Fresh start

Wow this has been an adventure. Hopefully this works and I can start rebuilding this PR.

* Functional build

Lacks software integration, costs, purchase enabling, etc.

* Removes pAI Action HUD

Also changes some frame data on icons, slowing them.

* adds check for pAI in newscaster.dm

* tweak job title for consistency

* capitalization

* correctly types pai in newscaster.dm

Co-Authored-By: RaveRadbury <3204033+RaveRadbury@users.noreply.github.com>

* adds in wire fix PR vars to hopefully fix it all

* reset pai.dm to hopefully fix this replace issue.

* That didn't fix anything. Reverting.

* One more time, taken from upstream master.

* put the newscaster stuff back into pai.dm

* Re-adds job title for newscaster
2019-04-25 14:10:43 -04:00
William Wallace
a944c2a362 Ghosts can analyze gas mixes and some new objects can be analyzed (#43502)
* Ghosts can analyze gas mixes and some new objects can be analyzed

* Replace show_air_status_to with atmosanalyzer_scan
2019-04-16 21:46:36 +12:00
Tad Hardesty
3d098c890a Standardize obj/updateicon() and update_icons() to update_icon() (#43418)
* Standardize updateicon to update_icon

* Standardize obj/update_icons() to update_icon()

* Fix pneumatic cannon infinite loop
2019-04-01 18:08:19 -04:00
Tad Hardesty
990e2c7bc2 Fix a few junk type annotations (#42985) 2019-03-07 10:58:05 +01:00
Qustinnus
06171c1a79 Fix hygiene runtimes, lighten sprite (#42404)
Hygiene sprite is a bit more transparent.
2019-01-18 14:22:09 -08:00
bgobandit
aeb603cb40 Clicking the health doll lets you examine yourself for injuries (#42357) 2019-01-15 17:12:29 -05:00
Qustinnus
0de28b726a [READY]Humans now have hygiene (DOES NOT AFFECT MOOD GO AWAY MOODPOSTERS) (#41986)
cl Floyd / Qustinnus
tweak: You now have to be naked to get the nice shower moodlet, if you shower with clothes you get a bad moodie
add: Hygiene, you slowly become dirty over time, the more covered in blood you are the faster you will lose hygiene. When you are too dirty you will have a stink overlay. (Hygiene doesn't affect mood currently) It also spawns miasma slowly if you smell like shit.
add: adds NEET and neat traits. NEET's get 20 bucks social welfare extra and like being unhygienic, while neat people dislike being unhygienic and like being hygienic
/cl

This doesn't affect mood so plssss dont strawman in this PR about how I'm forcing you to shower or die or whatever

This PR is mostly visual and will allow for people to judge others for literaly being smelly as hell.

also NEET and neat traits which interact with being smelly. (neat likes hygiene, dislikes lack of it. NEETs like lack of hygiene and get some social welfare (20 bucks))
2019-01-02 01:04:51 +13:00
Kierany9
d1638a31f3 Assimilation update: Aesthetic edition (Plus ghost alerts) (#42048)
* aesthetic

* powers remove properly

* oops

* cooldown

* sanity

* mc buggo
2018-12-28 21:37:02 +11:00