Commit Graph

11810 Commits

Author SHA1 Message Date
Ryan784
a52092b294 Fixes #1789 and most alt-clicking related bugs (#1808)
Fix for the alt-clicking related bugs; users being able to alt-click and
have it work regardless of distance.
2017-02-24 19:30:09 +02:00
Alberyk
54b64c3688 Loadout fix and virus immunity additions (#1804)
-changed some things on the tweak path loadout to avoid runtimes
-fixed some species being affected by virus when they should be immune to them
-fixed being able to miss when firing point blank
-tweaks a bit more the corporate safe contents
-moves some clothing objects to the proper place and fixes some names
2017-02-24 19:12:16 +02:00
Alberyk
539be7f192 Fixing broken magic missiles, corrupted form and rev/cult tweaks (#1766)
-fix magic missiles not working
-corrupt form should not strip the wizard, should last longer and the fully upgraded form was buffed
-heads of staff, except implanted ones, can be converted to rev now
-cultists gets the cult language
-loyalty implants will stop rev convertion
-probably fixed ai and cyborgs being selected as cultists and getting access to aooc
- Fixes #1777
2017-02-17 20:15:10 +02:00
NanakoAC
6e16ad88ff Nanako's cooking rework (#1743) 2017-02-17 20:08:45 +02:00
Ryan784
bc8f9a519e Bug Fixes (#1772)
* Fixes #1769
pAI's can no longer drag people, only items with w_class of 2 or lower
(small items).
* Fixes #1756
No longer makes welding sound when an "off" welder is used on an APC
frame.
* Fixes #1746
Fixes the bug; however, I'm unsure of the repercussions of using
* Fixes #1605
Grab intent can now be used to put people into sleepers.
* Fixes #1703 and updates Sleeper code
Updates the sleeper code.
Broken syringes for Medical Borgs will now be repaired the cyborg
charging station.
* Fixes #1592
Pills created in a Chemmaster loaded with a pill bottle will now go
directly into the pill bottle, provided there is enough space.
2017-02-17 20:07:42 +02:00
Lohikar
a50d0a8390 Machinery performance tweaks (#1744)
changes:

Machines' process() has been separated from auto_use_power().
Lights no longer process() and instead use auto_use_power() for power calculations.
Computers that didn't really need to process() no longer process().
Airlocks now use the scheduler to auto-close instead of process()ing.
Fixed a bug where clicking on an AI Status display to set its status did not work.
2017-02-15 22:07:47 +02:00
NanakoAC
aba694af6c Lighting Balance Pass (#1724)
Tweaks diona values on all lights, and range/power on a couple

Also adds a slightly dimmer sprite for tube light fixtures that they switch to during night mode. To reduce the incongruity from having a bright tube putting out very little light
2017-02-14 21:50:45 +02:00
Lohikar
2b9aa21421 Spark Fixes (#1764)
changes:

Removed shim for old spark system.
Converted all calls to old spark system with calls to new one.
Processor-based effects are no longer pooled, as it had minimal performance impact and was breaking things.
Tweaked some visible_messages for rogue drones.
PB effects' handling of location is now done at the /datum/effect_system level.
2017-02-14 14:37:16 +02:00
skull132
59cedff4b9 Merge branch 'master' into development 2017-02-12 11:55:38 -05:00
Alberyk
d0997ee6a2 Beastmen claws, armor changes and fashion update (#1699)
-return claws to their old damage
-added ballistic, ablative and mercenary helmets, placing them in the armoy and merc base
-tweaked some things with some clothing items, like name and pockets
-added scarfs as an accessory, available in the loadout
-added pants, also available in the loadout
-moved some things out of the armor.dmi to where they belong
-move all hats and armor from the security jumpsuit dmi file to the their right places
-moved the tunnel cloak to the xenowear section
-fixed missing heavy vests at the merc base and the missing book scanner at the library
2017-02-11 17:34:41 +02:00
Alberyk
2e1d8bfb5b Fix invisible chairs and stools created by the staff of animation (#1745)
Fix invisible chairs and materials things created by the wizard staff of animation
Fixes #1728
2017-02-10 18:11:48 +02:00
Alberyk
66d441898e Fix wizards having the wrong faction (#1734)
Fix the wrong faction in the datum.
2017-02-07 22:15:10 +02:00
skull132
b8ea5fd539 Merge branch 'master' into development
# Conflicts:
#	code/modules/admin/admin_verbs.dm
2017-02-07 21:00:23 +02:00
Lohikar
8b884953ea Sock Selection (#1706)
Adds socks to the underwear wardrobe as well as cleans up the wardrobe's code a little.
2017-02-07 18:47:17 +02:00
Lohikar
bc441ab9d6 Miscellaneous Tweaks (#1720)
changes:

Refactored footstep sounds to use less operations & only calculate for human-types.
Improved the logging detail of the lighting profiler.
Fixed some shuttle corners that weren't correctly working with parallax space.
Converted get_turf() into a compiler macro.
Solars are now dynamically lit.
Silenced warning from lighting overlays pooling themselves when updated on a space tile.
Fixed a bug where securing a girder was instant when it was supposed to have a delay.
2017-02-07 18:46:39 +02:00
Alberyk
ed6dbee896 Bay wizard port/rework (#1635)
Ports the newest bay wizard version, with some additions and changes.

General changes:
-ported the newest bay wizard
-wizards can select some school of magic, which also changes their spell selection as whole.
-added several new spells, like raise dead, contracts that bind the person with the wizard, and more.
-added wands, limited sources of certain types of effects/spell, also with their own bad effects for non wizards
-changed the wizard checks to a faction check instead of a mind check
-fixed wizards without certain slots due to race being fucked over due to it
-added new artifacts
-balanced some spells like the emp
-added a lot of new sounds to spell, mostly from tg
-remove horse mask from spell selection, also, you can melt the mask with acid now
-wizard's spell are now displayed at round end like traitors and what they did buy
-also fixes vaurca, and vox, antags spawning without a mask by default
2017-02-07 18:45:42 +02:00
skull132
61e0ea0461 Fix persistent mob runtimes (#1715)
Runtimes were in:

Movement code
Life()
More movement code
2017-02-04 22:23:40 +02:00
skull132
b7c93ac3d7 Merge branch 'master' into development 2017-02-03 19:34:31 -05:00
Lohikar
f544fe43b1 Processor-driven effects system & Minor Lighting Performance Tweaks (#1697)
Adds a new process-based effects system with the goal of reducing insane lag from sparks.
Currently only supports sparks, but should be easily extendable to other types of effects.
Also fixes a bug with airlocks where the light from bolts wasn't updating.

Refactors bears slightly to reduce duplicated code & pointless spark object creation and destruction.
Lighting profiler will now log /turf locations & names correctly.
Doors will no longer trigger way more visibility checks than they need to.
2017-02-04 03:34:13 +02:00
Alberyk
7451b4aff7 Fix not working fake central command announcement (#1692)
- Fixes #1663
-maybe fix pAI not being selected
-fix invisible tactical tracksuits
2017-02-04 00:06:30 +02:00
Alberyk
201e064d95 Fixes #1669 & adds missing xenoarch sprite (#1688) 2017-01-31 21:40:46 +02:00
skull132
b77e04ac4c Merge branch 'master' into development 2017-01-30 16:42:38 -05:00
Lohikar
1d5287dad0 Adaptive lighting updates (#1679)
This PR simplifies the lighting update system (removes update_type) and instead makes the lighting system decide which update method to use based on server load.

Instant updates are used during low-load, scheduled during high.

Also removes: update_lights_now() (redundant), diff_light() (unused).
2017-01-31 00:37:56 +02:00
Lohikar
e02dedd808 Fix crate airflow opacity (#1673)
changes:

Crates should no longer block airflow.
2017-01-30 23:36:23 +02:00
skull132
51f9c63589 Merge branch 'master' into development 2017-01-29 15:12:57 -05:00
Alberyk
5a355914fc Port bay newest loadout system (#1648)
-ports bay newest loadout system, which is pretty much a tab of their own, with different sections instead of a single list
-adds code that allows for several tweaks of custom loadout, like color, item path and contents
-adds dumb lunchboxes that can be filled with some food selection
-adds the option to select pre-filled vacuum-flasks or flasks
-also tries to fix the issues with xeno gear again
2017-01-29 21:52:09 +02:00
skull132
5909bf65ba Nuke 17 useless files (#1653)
All files deleted and disabled were either:

Not touched for 2+ years
Replaced with native DM functions (JSON specifically)
Generally replaced with newer iterations
2017-01-29 21:45:11 +02:00
NanakoAC
2cb3bb1a78 Lawgiver and random fix (#1658)
Fixes an issue that popped up with obj/randoms, they werent getting sucked into lockers

Also fixes that lawgiver runtime.
The issue that previous fixes miss is that DM casts implicitly and without safety checks. Casting an animal to a human does not result in null. an istype check is needed
2017-01-29 21:16:14 +02:00
Alberyk
061b946a3a Return of the mining loot crates and shuttle issues (#1654)
- Fixes #1652
- Fixes #1641
-adds a small chance of not destroying artifacts when mining them with regular tools
2017-01-29 14:27:48 +02:00
Lohikar
0cba68911d Lighting Overhaul & General process improvements (#1612)
This is it. The big one.
Risk: Very large. This modifies or rewrites several important systems.
Some things still need balancing, but that's probably better done if/when this hits dev.

changes:

New smooth lighting system.
Machinery split into three processes: machinery, powernet, pipenet Removed due to breakage. Refactored into multi-step process.
Mob process rewritten.
NanoUI process rewritten.
Objects process rewritten.
Tweaked color output of station lights.
Slime core lights now emit colored light.
Fixed light update frequency issue with fire alarms, hydroponics trays, and airlocks.
Increased light emission from bolted airlocks.
Miscellaneous performance improvements.
New datum pool implementation.
New lighting usage profiler.
Lighting system now tracks UV light, which is not visible to players.
Space now has a parallax effect.
Disabled Spin View verbs due to incompatibility with the new lighting system.
Disabled hallucination view spin due to incompatibility with the new lighting system.
Lighting system now initializes in the lobby before the round starts to reduce BoR deadtime.
Added UV light tracking to lighting engine; dionae now gain energy exclusively from UV light.
Added colored lighting to a few consoles that used default (white) light.
2017-01-29 01:13:54 +02:00
NanakoAC
c833f9073b Fixes obj/randoms not functioning and moves them to initialize (#1647) 2017-01-29 01:11:25 +02:00
LordFowl
c7832ae1d3 Tip of the Round (#1625)
Pretty simple. 10 seconds before the round begins, the game will choose a tip and display it.
Tips are handled in the config.
Admins also have a command to display their own customized tip, and also a command to display a pregenerated tip.
Both commands can be ran at any point in the run to good effect. The customized tip will replace the default, Tip of the round that procs 10 seconds before round-start tip, if it is run during the lobby.
2017-01-28 23:01:47 +02:00
VikingPingvin
7d7bfe186a Filter function for the PDA messenger screen (#1626)
nanoUI template modified to include the buttons for departments.

In pda.dm added vars and functions.
2017-01-28 22:45:27 +02:00
skull132
ce0cf2b86f Fix general antagonist bans (#1643)
All full blanket antagonist bans are now classes as Antagonist, instead of Syndicate bans, as Syndicate refers to a specific subset of antags. This made global banning someone from all roles impossible.
2017-01-26 01:33:44 +02:00
skull132
dfa9d93dec Merge branch 'master' into development 2017-01-25 17:35:12 -05:00
skull132
ec91c89887 Merge branch 'master' into development 2017-01-24 16:37:24 -05:00
Alberyk
1d58b6637c Fix heist not ending again with the transfer shuttle (#1633)
-fix heist not ending when the transfer/emergency shuttle lands at odin
-remove the santa bag from the random bags pool
- Fixes #1634
-fix the scrying orb killing people
2017-01-24 20:28:17 +02:00
skull132
b20032ea25 Merge branch 'master' into development 2017-01-23 15:52:13 -05:00
Alberyk
59584ae772 Tray, paper bin and bottle fixes (#1631)
- Fixes #1630 
-fix juggernauts breaking the shit out of door real fast
-fix trays having literaly no delay when smacking someone with one
- Fixes #1628 
-changes the recipe of sbiten, because it makes literaly zero sense for it to use vodka instead of mead, also added a bottle of it, spritted by datberry
-fixed bottles spawning without a name and icons on the cargo spawn, the base objects for bottles are just empty bottles now
-fix missing eye tape on mob sprite
-remove the last bit of "you can't fire a gun on help intent"
2017-01-23 23:41:33 +02:00
Werner
02d6d1932b Add a holowarrant to the secborg preset. (#1615)
Autosync the local warrants with the datacore on opening the device

Please describe the intent of your changes in a clear fashion.
Please make sure that, in the case of icon or mapping changes, you include images of these changes in the PR's description.
2017-01-23 21:07:37 +02:00
BinaryEvolved
87e0015949 Fixes #1591, #1567, and grammar (#1629)
Fixes #1591 Re-added old locker controls by Skull's request (sorry, didn't notice assignment)
Fixes #1567 Girders now give 2 steel sheets back when deconstructed (instead of the 1 originally)
Fixed grammar mistakes on the advanced scanner
2017-01-23 15:59:39 +02:00
skull132
9b30b1daec Merge branch 'master' into development 2017-01-23 08:50:49 -05:00
skull132
411656425d Merge branch 'master' into development 2017-01-21 14:56:17 -05:00
skull132
90e9c9f5f8 Fixes #1564, #1330, #1434 and #1210 (#1621)
Fixes #1564 
Fixes #1330 
Fixes #1434 
Fixes #1210
2017-01-21 22:53:58 +02:00
Alberyk
68dc556434 Automatic pistol, nutriment and sprites fixes (#1617)
-fix #1217
-fix being unable to put the tactical pistol into belts/holsters, also remove needless code from it
-fix the scout rifle not accepting other magazines
-fix the hardsuit nutriment being useless and just dealing minor toxin damage
-fix missing tactical masks and tapes from unathi and tajaran sprites
-fix tapes cuffs, blinders and etc not updating when equiped to said mob
-some extra tweaks to the hud code
2017-01-21 17:23:11 +02:00
NanakoAC
240eadbb6a Potted Plants Content pack (#1533)
Ports 11 new potted plant sprites from paradise
The pack includes one sprite thats a bit unusual, its a plant that has an animated blinking eyeball for a flower. It looks pretty neat though, so i ported that too but added a reroll to make it much rarer

Also removes the dead plant sprite from the potted plant list, and instead makes it an actual death sprite. Adds some simple death mechanics for potted plants, allowing them to be killed by edged weapons, fire, explosions and projectiles.
2017-01-20 22:00:23 +02:00
Werner
9d134d8e15 Computer manager and more (#1406)
The downloader and the file manager no longer come default on any device.
A client enrollment app comes now with every console
The user has to select weather the device is a private or company device and select a software preset if its a work console
Work devices are locked down to a specific set of programs
Private devices get the downloader and the file manager to install programs as usual.
Threw out the backup of the old-old camera monitor.
Made software presets a generic thing that are not dependant on the form factor of a device.
Ported holowarrants from bay
Ported wall mounted consoles from bay
Ported various computer fixes from bay
Vending machines spawn now with the holowarrant "client"
Mapping changes:

CE and HoS dont get a modular computer with command preset (they did not have that before bay merge, so why should they now)
Added a modular computer with command preset to the head of staff briefing room
Replaced the camera monitoring console in the Engine Control room with a modular computer
Replaced the cam monitor in the CE´s office with a wall mounted console
Switched places of the bar sink and console
Replaced the consoles with obj/item consoles
Mapped in the ERT and Merc Console (Merc Shuttle, ERT Area)
Fixed the "border" at the heisters base
Also waiting for CCIA on a design for the warrants.
But that can be changed with a follow up pull
2017-01-20 21:45:53 +02:00
NanakoAC
a5f2c558de Event tweaks, misc changes and fixes pack (#1588)
Fixes #1576 
Fixes #1439 
Fixes #1510 
Fixes #1508
2017-01-20 19:23:04 +02:00
Alberyk
0e8e6adcf1 Fix cloning (#1610)
-fix clones spawning dead
-fix #1603
-fix welding tools ignoring robotic limb damage cap
2017-01-19 21:47:06 +02:00
skull132
3869aad2d4 Runtime fixes + Travis macro count - 19JAN2017 (#1608)
Fixes #609
Fixes #1599
Fixes #1563
Fixes #1581
Fixes #1600
Fixes #1598
Bumps Travis macro count
2017-01-19 13:07:38 +02:00