Commit Graph

23094 Commits

Author SHA1 Message Date
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
Lohikar
723f5c3fb2 Aurorastationify Readme & Changelog Template (#1704)
changes:

Replaces some instances of Baystation 12 with Aurorastation.
Brings the README up-to-date with current SQL setup.
Removed mentions to non-existent IRC channel.
Updated changelog template to properly credit title image.
Replaced bay website links with aurora equivalents.
2017-02-05 22:50:22 +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
31162fe328 Fix player_list fixer 2017-02-04 20:06:38 +02:00
skull132
5b8e92fbff In which Skull forgets to pay attention 2017-02-04 17:46:50 +02:00
skull132
1f0ef3497e Implement ban pass phrase (#1714) 2017-02-04 17:43:55 +02:00
Lohikar
ef1b43eaa7 Fix playerlist verb (#1709)
Associated with #1568
2017-02-04 04:53:02 +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
Lohikar
6a1fecbd2a Shredder Movement & Law Controller (#1700)
Paper shredders can now be detached from the floor with a wrench and moved about.
Refactored the law process to not be a process - it didn't tick anyways.
2017-02-04 00:15:49 +02:00
Alberyk
2c280c8341 Mandatory gun update (#1685)
-added new sprites for rubber and rifles casings
-made bullets path less dumb
-added some new gun sprites, like the large crossbow and zipguns
-added a new tatical sprite mask, with support for unathi, tajaran and vox
-added back sprites for some items like bats and scythes
-fixed being able to saw off sawn-off shotguns forever and ever
-fixed a typo on the custom loadout
-nerfed the brain damage of the mind flayer, since brain damage is lethal now
2017-02-04 00:11:34 +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
Lohikar
2165054918 Minor Lighting Process Improvements (#1682)
This PR reduces the tick rate of the lighting process from 1 ds interval to 10 ds interval, and removes some pointless updates from Destroy().

Also removes some left over defines from update_type and darkness overlays that I forgot to remove earlier.

Fixes #1683.
2017-02-01 19:48:28 +02:00
Alberyk
201e064d95 Fixes #1669 & adds missing xenoarch sprite (#1688) 2017-01-31 21:40:46 +02:00
Alberyk
dcd9b0c7e3 Fixes #1671 (#1680) 2017-01-31 01:11:47 +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
Alberyk
02e8234cd4 Custom items 29/01 (#1664)
Adding the following items:

Martian Duster - Yuri Daruski - bv1000
Detective's Credentials - Avery Bell - serveris6

Also, fixing some issues related to synth sprites, mostly ai custom cores not working and some other minor tweaks.
2017-01-30 23:38:41 +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
Lohikar
2d54cad664 Paper airplanes (#1651)
changes:

rscadd: "You can now fold pieces of paper into paper airplanes, which can be thrown farther than unfolded sheets of paper."
Also slightly adjusted paper-crumple messages.
2017-01-29 01:12:56 +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
80c0bc7394 Merge branch 'master' into development 2017-01-25 08:25:22 -05:00
Alberyk
bcb78f9f19 Fix constructs being unable to hit things (#1639)
Pretty much settle over any issues with constructs and attacking things, also, the juggernaut proc is pretty much useless and snowflake code, since, they can just break and pry open airlocks just fine without it.
2017-01-25 16:23:14 +02:00
skull132
2e6dc9dd62 Fixes mobs having nightvision constantly (#1642)
Because operator order is important or some shit.
2017-01-25 16:22:50 +02: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
755d2df181 Fixes #1552 (#1579)
Fixes #1552 
Should fix the lawgiver runtime.
2017-01-20 21:53:48 +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
skull132
58dc6dde9e Fix exhaustion division by zero (#1613)
Maths.

Side-effect is: shadowlings and golems have infinite stamina. I am okay with this.
2017-01-20 19:56:24 +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