Commit Graph

22919 Commits

Author SHA1 Message Date
NanakoAC
6cef8c9074 Attack Proc fixes (#1259)
Baymerge changed the attack proc, i think by removing a default value, and a lot of things broke because they weren't using the function correctly.

This proc does three main things.

Adds a default to /obj/item/proc/attack to target the chest when no target zone is supplied.

Fixes the lack of a target zone in many attack procs, properly defining it so it'll get passed to the parent, and ensure that bodypart-specific targeting works.

Removes most instances of code to retrieve the user's selected zone, and instead to use the zone passed into the attack function. saves duplication of effort.
2016-12-24 03:34:23 +02:00
NanakoAC
b0ae247b01 Screen visual tweaks (#1282)
Visual tweaks to several modular computer screens:

Standby screen: Added detail and a background, made silver, improved animation
Menu screen: Altered colours to more resemble the actual UI
All medical screens: Made a deeper blue, closer to the original medical colors.

Modified the modular computers _description file to reorganise the descriptions of programs, and to note those that aren't implemented yet. Its a lot, the bay people didn't quite finish this project.

Also, console power use increased by 20% because holoscreens are fancy and deserve it.
2016-12-23 21:22:48 +02:00
NanakoAC
4e5556e9d9 Mouse Skeletons (#1279)
Adds decomposing animations for mice when dusted. They'll leave behind a little mouse skeleton
Mice and lizards will decompose to a skeleton 30 mins after death, or if dusted

Also some fixes to various small issues and runtime errors related to held mobs and supermatters.
2016-12-23 20:52:27 +02:00
Alberyk
7fe4433669 Syndicate borg rework and general fixes (#1275)
Changes:
-added some vars that allow for more pre-set borg models, ported from the newest bay changes
-added combat module and an ert borg as admin spawn presets
-fixed syndicate cyborg
-syndicate cyborgs explode when killed now
-added a limited frag grenade launcher to the syndicate module
-fixed a lot of broken guns
-fixed the bad ert id code added by the ert update
-fixed the tactical shield to have sprites and behave properly
-tweaked even more the vending machine at sec armory
-disabled joining as actor
-enabled spess bikes, heisters get two of them and can get one via cargo contraband system
-replaced advanced advanced e-guns with energy rifles
-fixed some missing id sprites
-fix #1281
2016-12-23 20:16:23 +02:00
printer16
70e30d0f43 Fixed ERT Update (#1266)
Credits for content go to Serveris. All I did was fix it up for the baymerge and got it working in-game (Yes I know zipties don't stack. I couldn't figure it out. Maybe latter.)
2016-12-23 02:09:49 +02:00
LordFowl
51bd200d7c Porting Apollo Infractions Computer (#1033)
Ports Apollo's infraction's system, creating a permanent criminal record for every character. Every minor or medium infraction accrued over the course of a round is added to the character's permanent security record which is available at vanilla records councils. Antagonists are automatically exempt from this process, and players can exercise control over what charges they consider canon or not.

Brigging a person is now dependent on the criminal sentencing computer, which reads a person's ID and applies a brig timer automatically for the charges selected. Personnel without ID's will have to be brigged manually.
2016-12-23 01:00:04 +02:00
NanakoAC
c7e56daaa6 Exosuit program, tracking, and downloader improvements (#1264)
A minor project focusing on Modular computers and exosuits. Changelog is small, since most of this is changes to unreleased content
In brief:
Adds an exosuit monitor program
Fixes many visual issues with the downloader program
Tweaks Exosuit killswitch and EMP mechanics
2016-12-23 00:52:54 +02:00
Alberyk
d2b49ab1cb Hoodies and sec gear fixes (#1272)
Changes:
-ported hoodies from polaris/tg, I will place them somewhere someday
-fixed missing sec berets and badges missing sprites and being wrong at all
-fixed a lot of unecessary/troublesome code with the hos gear
-force gloves have a different sprite now
-fixed missing visible message when being hit by bullets
2016-12-22 20:07:01 +02:00
NanakoAC
e82d5034d9 Visible message fix (#1271)
Undoes baymerge's changes to visible messages and fixes our previous implementation that i wrote.
Ours is much better all around.

With the changes baymerge made, they added an additional view call, and some 700 show_message calls to objects, for every single message, its absurdly wasteful.

As far as i'm aware there is no current use case for showing visible messages to objects. If there ever is a need we can implement an efficient solution with a global list of listeners
2016-12-22 18:57:30 +02:00
NanakoAC
e221a91049 Nutrition fixes and tweaks (#1265)
Fixes nutrition displays not updating.

Adds code support for species-variable levels of max nutrition storage, and nutrition loss. No actual variations are yet implemented, awaiting input from lore team.

Fixes all relevant static isntances of numeric literals with the max_nutrition variable

And a feature tweak: Players will now spawn with randomised nutrition levels when they join
2016-12-22 18:13:00 +02:00
NanakoAC
580d7a2bcc Resomi icon fix (#1267)
Fixes resomi icons, worn, held, etc
Uses some runtime icon inserting witchcraft. i spent several hours studying dm documentation
2016-12-22 17:55:57 +02:00
NanakoAC
95e4cf1c16 Cargo Wire, runtime and inflatable fixes (#1268)
Fixes the APC in the cargo warehouse being unpowered
Fixes two runtime errors i reported
Fixes inflatable doors being unresponsive due to a sleep. Seperating the opening code off into a spawned child process has made it much more responsive
2016-12-22 17:53:42 +02:00
Alberyk
f70f84a9a7 Custom items 22/12 (#1270)
Adding the following items:

Jeyne's Pendant - Jeyne Kahale - themuncorn
Consortium Magister's Robes - Basil Drabardi - aimlessanalyst
Worn People’s Republic Service Uniform - Iskra Ayrat - alberyk
Mariziite Shroud - Cruz Tsali - serveris6
Retired Uniform - Ana Roh'hi'tin - suethecake
CSI Jacket - Ana Roh'hi'tin - suethecake
Faded Badge - Ana Roh'hi'tin - suethecake

Also, a minor sprite change on the marching sandals.
2016-12-22 17:09:28 +02:00
Alberyk
1c520de9d2 More minor baydev fixes (#1250)
- fixes #1235
- fixed stunbaton being borked
- fixed wrong lobby screen
- re-added nanako's changes to embedding
- remove old mosin code
- fix a small issue with the body type proc on the human species
- fixes an issue with the mounted smg
2016-12-21 22:34:24 +02:00
LordFowl
5ccb627531 BayMerge Bugfix; Fixing guns, update computers. (#1263)
Fixes all the snowflake guns unique to our codebase with multiple firemodes so that they now actually behave correctly. Fixes a few bugs relating to computers, and updates modular_computers to use holoscreens.
2016-12-21 21:48:04 +02:00
Bedshaped
3a89d01ea0 Bayport - welded scrubbers (#1160)
Port is credit to Zuhayr

changes:

rscadd: "Bayport: Scrubbers are now weldable."
bugfix: "Fixed incorrect messages when welding vents."
2016-12-21 21:46:13 +02:00
NanakoAC
d19c62c081 Cargo. Event, Holder fixes (#1253)
Fixes runtime errors with cargo stock. Was caused by the type of armor boosts changing.

Probably fixes the issue of mobs dying when picked up. I added some robustness and safeties to it

Tweaks event probabilities, adjusting the major event distribution (rarer bears), raising some others and slightly reducing the overall chance of major events.
2016-12-21 21:39:22 +02:00
SoundScopes
97bb1e8e38 Travis: Indentation / list fixes (#1254)
Fixes the tools/indentation.awk script to not demand a comma at the end of perfectly valid comments.
Makes it report unnecessary commas in lists.
Readds it to the Travis build list.
2016-12-19 16:40:52 +02:00
Alberyk
7267ec826c Captain voidsuit, rolling up sleeves and minor fixes/tweaks (#1247)
-added BRAINOS corporate sprites
-added BRAINOS captain vodsuit sprite, with a cicler mapped in the captains office
-fixed some red sec scum decals
-removed the dumb gun help intent thing
-added rolling up sleeves
-fixed some minor things with the merge, like wrong e-pistol names, besides changing the fire-rate and flashbangs missing in sec lockers
2016-12-19 02:07:59 +02:00
skull132
cdd4772177 Merge branch 'master' into merge/level_dev_master
# Conflicts:
#	code/game/machinery/vending.dm
#	maps/exodus-1.dmm
#	maps/exodus-2.dmm
2016-12-19 00:23:19 +02:00
skull132
37fa1e947e Implement Vaurca mob tests (#1244)
Also fixes Vaurca having NO_BREATHE flag on accident.
2016-12-19 00:16:10 +02:00
Alberyk
2c6dad2dd3 More bay merge fixes (#1243)
- Fixes #1227 
- Fixes #1236 
- Re-add lamarr.
- Fix bootknife thing
- Fix a couple of things related to borgs
- Re-add our tator items
- Adding back all the hardsuit modules back to robotics
- Fixing a couple of missing sprites, like fireaxe cabinet
- Fixed missing computer sprites when no power
2016-12-18 22:13:42 +02:00
skull132
535919aaa7 Coerce the unit tests (#1241)
Updates the unit tests to reflect our codebase, and not Bay's.

Also disables the indentation test until further notice, because it's dumb in its present form and function. Creates more trouble than it's worth.
2016-12-18 21:39:53 +02:00
skull132
c7352e45a5 Unit tests - Tag matcher (#1237)
Clears out all bad HTML tags noted by the tag matcher unit test.
2016-12-18 11:54:05 +02:00
Alberyk
89ae849adc Bay merge fixes (#1225)
What is being fixed:
-messed up sec armor
-skeleton, vox and resomi being player species
-abhumans also had restrictions added until whatever should be done with them was decided or something
-fixing dionae language name
-fixing bluespace suicide and some additions/changes
-fixing random vaurca name gen thing
-fixing missing ipc chest and groin sprites
-added missing resomi hair and some new dank vox hair styles
2016-12-18 10:52:16 +02:00
skull132
4687b7d2e6 Fix language more 2016-12-18 01:27:32 +02:00
skull132
f3b42ad1d8 Rootsong -> LANGUAGE_ROOTSPEAK 2016-12-18 01:18:41 +02:00
skull132
9b094ad0eb Merge branch 'upstream/development' into development
# Conflicts:
#	code/_helpers/time.dm
#	code/game/objects/items/devices/floor_painter.dm
#	code/game/objects/items/stacks/medical.dm
#	code/global.dm
#	code/modules/cargo/randomstock.dm
#	code/modules/mob/living/carbon/human/human_defense.dm
#	code/modules/mob/living/simple_animal/simple_animal.dm
#	code/modules/mob/mob_movement.dm
#	code/modules/paperwork/faxmachine.dm
2016-12-18 01:06:45 +02:00
skull132
0b26cd9ab1 Fix more things 2016-12-18 00:42:49 +02:00
skull132
1bf9e6a389 Fix all the things
YAAAAY!
2016-12-15 14:22:08 +02:00
Werner
2c9203951f Overhauls stats gathering to include the game_id (#1211)
Changed Stats gathering to include game_id.
Removed a duplicate proc that's never used.

This introduces a breaking chance in the feedback table.
The table should be renamed and recreated with the new schema.
2016-12-12 23:15:09 +02:00
skull132
16bf480525 Clean-up time!
Removing worthless files.
2016-12-11 21:45:21 +02:00
skull132
ff7f93cbd8 Saving + Updating + ALL THE THINGS
Everything. Absoloutely positively everything. Fuck.

Hey, it compiles now, doe!
2016-12-11 21:44:35 +02:00
skull132
5fbd15a846 Job sanitization
Because I forgot, K? Will runtime because I haven't added the second var yet but sure. Yay.
2016-12-11 01:39:00 +02:00
skull132
2b63c7e394 SQL Saves - Loading more vars
Forgot to load some of the new vars.
2016-12-11 00:35:58 +02:00
skull132
57501a305c SQL Loading - preferences vs character
A simple whitelist so we don't end up running bad queries when we only want the character.
2016-12-10 23:28:35 +02:00
skull132
7925063160 SQL Saves - Sanitization
Everything is now proper good sanitized!
2016-12-10 19:48:00 +02:00
skull132
7c8e6f730e Finalize loading queries
No more compile errors or logic errors from these.
2016-12-10 17:04:39 +02:00
skull132
00a2067bf7 Merge branch 'development' into merge/sql_saves_new 2016-12-10 15:35:10 +02:00
LordFowl
c46ae8cb42 Christmas Update (#1203)
Several minor mapping changes, basically accounting to stringing up christmas lights and wreaths. Some chairs and tables were removed to make way for glorious Christmas Tree. May their sacrifices be well remembered.
2016-12-06 17:01:21 +02:00
Bedshaped
48f9c995b6 FINISHED ALL NON-PREF ERRORS (#27)
* code\game\machinery\cryopod.dm:482:error: orient_right: undefined var

* code\modules\mob\mob_movement.dm:272:error: mob.last_move_intent: undefined var

* code\modules\mob\living\simple_animal\simple_animal.dm:377&402:error: user.changeNext_move: undefined proc

* code\modules\mob\living\silicon\robot\robot_items.dm:31:error: loaded_item.reliability: undefined var

* fixes whatever to do with chameleon.dm

* camera.dm

* didn't get chameloeon the first time round

* uplink.dm

* code\game\objects\items\devices\PDA\PDA.dm:959:error: U.last_target_click: undefined var

* code\modules\clothing\head\misc_special.dm:159:error: icon_head: undefined var
2016-12-04 19:39:20 +02:00
Alberyk
80bc02346e Custom items 25/11 (#1184)
Some items that were never made due to the lack of sprite/being hard as fuck to sprite/i forgot. Special thanks for TheGreatJorge for being a based spriters and getting those done.

Medizinercorps armband - Karl Jonson - arrow768
Ceremonial Whip - Rook Jameson - hivefleetchicken
Black Labcoat - LiLITH - ladyofravens
Jeweled Tiara - Sayyidah Al-Kateb - alberyk

Also, removing xelnaga's implant, at his request.
2016-11-30 22:17:13 +02:00
Werner
bdc01fb33e Updates as requested by jackboot (#1197) 2016-11-30 20:36:34 +02:00
Werner
a1a1d6c17e Some more bug fixes (#26)
Some more bugfixes.
The Windoor changes from Nanakos pull might conflict.
So merge that first and I´ll resolve as needed.
2016-11-30 18:30:06 +02:00
NanakoAC
f7476fa9d7 Nanako's compile fixes (#25)
Various compile error fixes. windoor stuff, ID, emag, holders marked for farther fixing later.
nothing too remarkable
2016-11-30 18:28:58 +02:00
Alberyk
053d88f450 Clearing more errors (#24)
Clears tray scanner related errors.
2016-11-30 18:27:59 +02:00
Alberyk
5bfa01d79e Syndicate borg fix mk II and bees. (#23)
Reverting back to old code, but, now fixing all the issue, and fuck ghost trap for this for now.

Also, re-adding our unique murderous bees.
2016-11-27 20:00:35 +02:00
skull132
a0aa10837e Reduce more compiles 2016-11-27 18:34:26 +02:00
NanakoAC
37e4eb40b0 Mech warning fix (#1180)
Fixes mech warnings
2016-11-24 11:40:54 +02:00
skull132
ca6dee493e Fix Mecha Runtimes (#1179)
Consistently spammed these for 8+ hours today.

No thank you.

Remember kids, safety checking a variable before assuming it can be used is important.
2016-11-23 22:47:22 +02:00