Commit Graph

4996 Commits

Author SHA1 Message Date
AnturK
f28b2d60b9 Adds achievement metadata table (#48007)
* Renames hub_id to database_id
Adds achievement_metadata table.

* Fixups

* enum
2019-11-30 18:34:42 +11:00
carlarctg
fd0cfe9389 The Defib Nerf (Defibs are no longer a 10 second paralyze) (#47675)
* hardstuns? nostuns*

* WELCOME TO THE HAPPY HOTEL

* YOU'RE GOING TO LOVE IT HERE

* whoops i accidentally a status effect and a new item

* skog alert

* Update code/game/objects/items/defib.dm

Co-Authored-By: skoglol <33292112+kriskog@users.noreply.github.com>

* Update code/game/objects/items/defib.dm

Co-Authored-By: skoglol <33292112+kriskog@users.noreply.github.com>
2019-11-29 14:31:54 +01:00
skoglol
61e01d3ac0 Crafting recipe results blacklisted by default (#47852)
* Strobe shield cant be crafted from strobe shield

* Blacklists result by default.

* Doesnt blacklist reqs
2019-11-28 19:12:15 +01:00
Ryll Ryll
85de1066f0 Freeze! Adds holding people up with guns. (#47677)
About The Pull Request

Attacking someone with a gun at point blank with grab intent will now hold them at gunpoint. This means you will automatically shoot the target if they move or attack, though they're still free to rummage around in their (or your, if you continue standing next to them) inventory, speak (including using radios), and throw things. The shooter may roam around a 3 tile box radius without breaking the hold-up, allowing them to reposition themselves, though breaking visibility will break the hold-up. In addition, if you're several tiles away and they make a break for it, they may be able to dodge the projectile. Tactical choices!


For the first 3 seconds after the hold-up, any triggered reaction shot will deal normal damage.
Between 3-10 seconds after, any triggered reaction shot will deal double damage.
After 10 seconds, the reaction shot will deal 2.5x damage.

The ramp-up is to give weapons with weaker per-shot damage like disablers, laser guns, and the .38 the ability to be useful for arrests and stick ups, without affecting combat balance too much. If you got someone you're trying to kill to hold still for 2 seconds at point blank range, you may as well just keep shooting them rather than fiddle with holding them up. If you're gonna resist, it's best to do it quickly!

Lastly, if the shooter is attacked and takes damage from anything, they have a chance to flinch and fire in reaction. This is a 50% chance, unless they're hit in the arm holding the gun, in which case it's an 80% chance.

Why It's Good For The Game

Adds in mechanical backing for taking people hostage or being able to arrest people with the threat of violence rather than actually carrying out that violence. Trying to take hostages or hold people up right now will just get you immediately shove spammed mid-"DROP $500 OR FAILRP" unless the other person feels like playing along. This makes cooperating or risking getting shot an actual choice, increasing mechanical depth while also adding more roleplay potential.

Also yes, the target cuffing themselves will not trigger the reaction shot, so holding someone up, backing up, and throwing cuffs at them is a valid move.
2019-11-28 21:30:52 +13:00
actioninja
c8ec5bdd36 Revert "[SPEED MERGE NEEDED] removes cat (#47999)"
This reverts commit 345d2bf607.
2019-11-26 04:35:58 -08:00
pireamaineach
345d2bf607 [SPEED MERGE NEEDED] removes cat (#47999) 2019-11-26 04:35:25 -08:00
oranges
c00f4798b7 Remove debug verb 2019-11-26 09:06:44 +00:00
AnturK
2554c5c636 Fixes score defines 2019-11-26 09:51:16 +01:00
AnturK
a31c460dc0 Moves achievements from Hub to DB. (#47617)
Drops byond hub support and adds score and top 50 browsers.

Requires DB changes and manual creation of migration script if we want to keep old achievements so no random merges please.
2019-11-26 20:35:28 +13:00
KomradeSpectre
db878e848b Adds a new element, Self-Knockback. (#47938)
* Adds a new element, Self-Knockback.

* Squashes a potential edgecase runtime in projectile_selfknockback before it can even happen.

* Allows item_selfknockback to interact with dense turfs now.

* Made self-knockback utilize the Element Bespoke flag to allow custom force and speed values on attachment.

* fixes newline issue, adds a usage comment.

* fixes the newline issue in self-knockback for real this time, thanks TortoiseGit.

* i swear on god almighty if this doesn't fix the newline issue, i'll eat a shoe.

* Testing newline lint
2019-11-25 21:34:14 +00:00
Emmett Gaines
12a4983b75 Adds a flag for bespoke elements (#47807)
* Adds a flag for bespoke elements

And applies it to firestacker

* Improves bespoke documentation
2019-11-25 17:53:00 +01:00
Buggy123
43ef5fb4b6 Fixes partial sentences when examining a radioactive object at a distance (#47835)
* Fixes partial sentences when examining a radioactive object

* Fixed missing period

* Fixed unintentional examine balance change
2019-11-25 16:10:36 +00:00
XDTM
cec90df582 Nanite timer rework and general code improvements (#47745) 2019-11-21 20:36:47 -08:00
moo
964b3d65d5 Cobbduceus: Healing lvl? (Medical Skill) (#47538)
* b

* helps to commit huh

* math is hard

* parenthesis are even harder

* Update code/datums/skills/_skill.dm

Co-Authored-By: Bobbahbrown <bobbahbrown@gmail.com>

* removes efficiency... or efficacy 😏

* baby sha... i mean files
2019-11-21 04:49:24 +00:00
Rob Bailey
525d39d9f1 uplink (#47727)
small tweaks

proper theme

search + input bar theming

properly functional input theme

rebuild
2019-11-21 04:46:55 +00:00
Rob Bailey
a6c28db6a7 Some small random tgui-next uis (#47712)
* dna vault

* engraved messages

* holodeck

* fix

* remove unusued imports

* spawners menu

* small tweak

* </b>

* rebuild
2019-11-21 04:22:54 +00:00
Rob Bailey
5d48301d0a Borg spinning no longer stuns. (#47866) 2019-11-20 06:29:45 +00:00
Emmett Gaines
53952e7622 Keybindable emotes followup (#47868)
Keybindable emotes followup
2019-11-19 16:54:30 -08: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
ShizCalev
a0dcbb5768 Fixes runtime when cloudsyncing nanites without programs errors. (#47786) 2019-11-17 19:23:43 +01:00
MrPerson
cccdcc6d04 Shooting a BSA beam at the SM will make it delaminate (#47748)
* BSA beam delams the SM via a new signal

Adds a BSA beam blocker element that blocks bluespace artillery beams. SM and singulo have it.

* Shut up Travis

* Destroy the singularity when it's BSA'd

* No shooting nar-nar with BSA

* Removed an incorrect and unhelpful comment
2019-11-17 19:22:51 +01:00
skoglol
1be2774ee5 Gives body back to owner on split personality death (#47809) 2019-11-16 20:34:14 -05:00
ATH1909
69b29d37b1 The coughing symptom no longer spreads viruses while your throat is soothed (#47603)
* Update cough.dm

* Update cough.dm

* Update cough.dm
2019-11-15 23:14:20 -05:00
carlarctg
b64de90572 Corazone renamed to Higadrite, adds replacement chemical for abductors and fixes heart disease (#47776)
* liver

* a

* 《 Verified webedit  》
2019-11-15 17:56:20 -05:00
oranges
d279b3e83d Merge pull request #47750 from ninjanomnom/doafuckinflip
Makes every emote keybindable
2019-11-15 14:56:55 +13: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
Loomin
2365eefc3d Adds a delay on hulks screaming (#47743)
* I HATE SCREAMING

eugh AHGGGHH CGRAHHHG REEOEEERRRREEE

* I'm dumb and I hope this makes me undumb

* I extra dumb

* This is why I should stop webediting and fix my git

* change the delay time

* shortens delay
2019-11-13 18:04:43 -05:00
ninjanomnom
00cbd41b1c Makes every emote keybindable 2019-11-13 16:18:36 -05:00
Couls
26a61a489c ports TGMCs click hack for non-hotkey players ports classic keybinds from TGMC (#47670)
About The Pull Request

Ports tgstation/TerraGov-Marine-Corps#2977, overrides click proc to return focus back to chat bar using winsets also ports tgstation/TerraGov-Marine-Corps#1904 which has two sets of defaults for hotkey and classic mode
fixes #47672 fixes #47659

much credit to @Rohesie and the TGMC team for a bunch of these improvements
Why It's Good For The Game

lets the non-hotkey players walk and talk again
Changelog

cl
add: Custom keybinds will now check what style (classic / hotkey) you prefer when resetting if you use classic mode make sure to reset your keybinds to default!
add: multiple keybind support
tweak: non-hotkey mode keeps focus on chat
fix: pressing 4 as cyborg now properly cycles
fix: AI location hotkeys now work again
/cl
2019-11-14 09:22:33 +13:00
Okand37
3451a1f919 Kilo Station (#46968)
About The Pull Request

Reboot of #43876

Adds a brand new map into rotation: Kilo Station! This map is intended as a medium population map that introduces a new and exciting formula to the cast of stations.

You can access a mostly up-to-date map on Renderbus
Forum Post
Why It's Good For The Game

This map focuses on a few simple principals to help create a unique but enjoyable experience:

1. Compartmentalization: Cutting out the middle man of hallways, departments are organised on a room-to-room basis, and most rooms have multiple ways in and out. This reduces dead space and brings the department closer together while allowing for more ways to move around the department. Ideally, this transcribes into your co-workers being less "out of sight, out of mind" and keeping engagement, as you're constantly in a workspace instead of an empty hallway. I think this will open up a lot of interesting venues for gameplay of all sorts!

2. Organization: Kilo Station strives to deviate from the formula popularized by Meta Station, but not without reason. It brings a more technical mindset to map organization, re-arranging areas and placing others in ways that boost their usability. Security posts are organized within the departments in a way bring their relevancy up by boosting their coverage and visibility. Low traffic areas like the library, surgery recovery room, courtroom, council chamber and chapel are re-arranged in ways to not only boost their visibility but increase their functionality. Some minor areas like the medbay patient rooms and the cargo warehouse have passed away.

3. Resource Allotment & Scarcity: In previous iterations of my maps, I've toyed with the balance of scarcity regarding both essential and non-essential items. Kilo Station focuses on having less non-job essential items strewn about the station while increasing some of the volume of certain job essential items, specifically in relation to engineering and atmospherics players.

4. Functionality & Purpose: In addition with the organisation changes made above, "maintenance loot" and their respective gimmick rooms have been overrun with simplemob NPCs. While not overtly destructive, the NPC mobs provide no loot of their own, but provide enough challenge to gate certain rare but useful items while providing a new point of interest for certain players to engage with. As well, a number of asteroids and rocks are placed around the station with low-mineral chance, opening up the venue of opportunity while allowing more ways for players to contribute to the round meaningfully.

5. Atmosphere: Last but not least, these various motifs along with the general appearance and environment serve to cultivate a specific lived in atmosphere where destruction, murder, and intrigue is just another day on the job. This aims to give the station a more unique personality to help it become a new and fresh experience for players.
Recent Updates

Kilo Station was received fairly well during its initial PR and testmerge. As I now have time to properly contribute and maintain the map, I am PRing it again. 

cl Okand37
add: Central Command has commissioned a new brand of Kilo-class stations. Rumours report the station design will be used in the up and coming Space Station 13 plasma research station.
/cl
2019-11-14 09:18:47 +13:00
Emmett Gaines
d8d1abadd1 Grab movespeed modifier (#47728)
* Migrates grab move delay to a movemod

Doesn't work until all grab state changes are hooked in

* Replaces grab_state sets with proc

`\bgrab_state\s*?=\s*?(\w+)` => `setGrabState($1)`
Check over the results, this will catch a couple false positives

* Catches a missed increment and fixes a bug
2019-11-13 03:30:28 -08:00
spookydonut
dd6fa5eded More spawn/sleep removals (#47634)
* remove more spawns

* more

* more

* varsets

* oops

* unfuck this
2019-11-13 03:07:59 -08:00
oranges
fe1ebd8b28 Merge pull request #47726 from MrPerson/laser_eyes_pewpewpew_but_only_newton
Laser eyes push you in nograv
2019-11-13 21:58:32 +13:00
Krysonism
738b4fcae7 Da bottle update. Empty glass bottles, bottle crafting, hooch & moonshine bottles. (#47696)
* bottle bottle bottle

* newline
2019-11-12 17:54:49 -05:00
Arkatos1
9cf044d818 Skills fix (#47699) 2019-11-12 11:37:57 -05:00
Rob Bailey
220a894d21 crafting fix (#47730) 2019-11-12 17:18:20 +01:00
MrPerson
6fc8438c46 Laser eyes push you in nograv 2019-11-11 21:42:13 -06:00
Couls
971ef6a416 Custom movement hotkeys and restore macros for T, O and M (#47626)
* Custom movement hotkeys and restore macros for T, O and M

* stray comma

* update movement keys on SSinput initialize

* use cardinals
2019-11-07 18:07:17 -05:00
SteelSlayer
f77d0db3e4 Refactors antag datum hud adding and removing procs (#47573)
* Refactors antag datum hud giving code

* epic fail. this is a much better way to do it

* reduces copy and paste for clown mutation

* review additions

* didn't mean to put that there

* re-add check
2019-11-06 21:30:21 +01:00
skoglol
ef2d2796bb Fixes disease outbreak secret (#47541)
* Fixed admin create virus, added target.

* Fixes random and simple disease outbreak.

* requested changes
2019-11-06 20:42:05 +01:00
Rob Bailey
13abb720b5 GPS, suit storage, and tank dispenser tgui-next (#47480)
* gps, suit storage, tank dispenser tgui-next

gps work

Final gps

suit storage + tank dispenser

* Improve GPS with direction arrows

- Added some collection manipulation functions
- Table is 100% wide by default

* Clamp GPS window height to safe range

* Calculate distance using vector maths on client side

* Remove logging

* More robust keying for GPS signal rows

- Protects from sorting glitches

* rebuild

* rebuild
2019-11-06 19:28:35 +01:00
Couls
65ce56587c fixes modifier hotkeys and adds alternative move intent toggle (#47569)
* fixes modifier hotkeys and adds alternative move intent toggle

* Fixes pulling keybind

* make the wrappers look more like the old popup windows

* it was the freaking save file

* bump up save file version

* reset keybindings to default
2019-11-06 04:20:30 -08:00
spookydonut
2591ce17a6 Travis EOF newline detection v3 (#47539)
* scream

* aaa

* aaa

* new one
2019-11-04 19:16:50 -08:00
XDTM
997e9d32ad Fixes a nanite runtime (#47507) 2019-11-03 01:09:39 -08:00
Couls
070bb5e69c Port Custom hotkeys from TGMC (#47003)
* custom keybindings

* Update _lists.dm

* Update robot.dm

* modify weights and clean up some vars

* Update say.dm

* Apply suggestions from code review

Co-Authored-By: Emmett Gaines <ninjanomnom@gmail.com>

* some review changes

* formatting

* include focus hack, remove me_wrapper, give default keybinds to new characters, misc fixes

* revert hack and more reviews

* remove another focus hack

this was causing issues with the keydown proc returning early
2019-11-03 01:35:30 -07:00
Rob Bailey
4477fb387b Language and Crafting tgui-next (#47474)
* Crafting + Language Menu

crafting menu work start

personal crafting menu

rebuild

early return cleanup

remove a debug print

minor refactors

rebuil

* Crafting + Language Menu

crafting menu work start

personal crafting menu

rebuild

early return cleanup

remove a debug print

minor refactors

rebuil

* Unfuck crew console

* import cleanup

* one more
2019-11-02 19:52:17 -04:00
RaveRadbury
daf3db97de [READY] Social Service Mood Boosts Part 1: Clown and Mime Fan quirks (#47254)
* Adds mutually exclusive Clown and Mime Fan traits based off of Spiritual quirk

* Adds positive moodlets for sitting in rooms, adds pins and moodlets for pins

Need to figure out why the progress bar for being buckled doesn't show up.

* I forgot that Spiritual is 1 point.

* Reverts examining for mood boost and room mood boost events
2019-11-02 19:34:00 -04:00
81Denton
dce27bac3d Merge pull request #47492 from MrPerson/material_color_improvments
Improved material colors
2019-11-01 10:42:27 +01:00
Jordie
9e51183ca2 Merge pull request #47487 from PepperPrepper/patch-1
Fixes a Space in An Achievement Description (ATH Approved)
2019-11-01 19:48:51 +11:00
MrPerson
9e204afd58 Material fixes based on feedback 2019-11-01 03:00:05 -05:00