Commit Graph

22931 Commits

Author SHA1 Message Date
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
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
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
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
Alberyk
f253c2c381 More delay issues, magboots, knive-boot, marble and ccia (#1586)
- Fixes #1583
- Fixes #1031 
-adds some checks for magboots
-reduces the hardness of marble
-finally adds a delay when attacking common mobs with weapons
-finally adds a delay of cult mobs attacking things, like machines
-fix the flash pistol having no flash rounds
-fully remove custom items gloves from spawning from cargo
-replace all the references of ahdomai and S'randarr with Adhomai and S'rendarr
-import a bay fixe to hud runtimes
-removes christmas pun pun
-replace the old appearance that the ccia used with the newest and most robust one
-do more changes on the ccia code at ccia request, also, removes all the red and blue shit from it
2017-01-18 18:56:06 +02:00
LordFowl
933aaf386c Fixes #1593 (#1594)
Simple fix. Forgot that Baymerge changed breathable gas to be 21 kPa or above or else burst lung.
2017-01-18 18:52:10 +02:00
Lohikar
1455c006be Fix Adv. Scanner (#1585)
Adv. scanner no longer lists Undefined for lung damage.
Adv. scanner should show infections on organs correctly.
Description of lung damage now changes.
2017-01-16 00:11:50 +02:00
LordFowl
df04f69ed1 Fix a ligger's broken cane (#1584)
It must've been late when I coded this. Inverts a logic check to work properly.
2017-01-15 23:51:35 +02:00
skull132
3788abde64 Changelogs, 15JAN2017 + thing
Because I forgot to make Diona rescannable again.
2017-01-15 14:45:45 -05:00
Lohikar
2dadf7fd21 Adv. Scanner Tweaks & General Fixes (#1573)
Fixes #1419.
Fixes #1551.
Fixes #1516.
Adv. Scanners now obey NO_SCAN species flags.
Adv. Scanners now use NanoUI.
Fixed a runtime from adv. scanners' consoles being deleted.
2017-01-15 21:37:44 +02:00
NanakoAC
5a71076761 Gripper, Nymph and Mob size fixes (#1575)
Fixes #1530 
Fixes #1529 
Fixes #1562
2017-01-15 20:56:15 +02:00
LordFowl
692e830c15 Nar-Nar and Blob Fixes (#1569)
Updates Nar'Sie to respect new Baystation flooring mechanics. No longer will ugly floor decals persist even when their base turf has been cultified.
Harvesters, and in fact all constructs, can now use cult runes. Only harvesters can write them.
Updates the "Change Construct Shell" rune available to Harvesters to actually change the construct shell. Technically it's just an armor() rune, so any cultist can change the shell of their construct. Harvester option will replace the artificer options during Hell Rising events, since a harvester is basically just an upgraded artificer.
Harvesters will cultify turf and objects in a 3x3 square whenever they use a spell, just for more A E S T H E T I C
2017-01-15 20:50:01 +02:00
Werner
7c134867f7 Remove Maidbot + eyebot due to Headmin Request (#1578)
Remove the Maidbot due to Request from Headmins.
It is causing ingame administration issues.

Eyebot removed because lame reference.
2017-01-15 20:04:13 +02:00
skull132
b5c9958ab7 Fixes no client passed to delete_character_sql() (#1570) 2017-01-14 20:57:28 +02:00
Alberyk
edfe3c235a Fix forks being an infinite source of food (#1559)
This should fix forks being broken as fuck and you able to eat from them forever. also, spoons aren't sharp anymore.
Also, this ports the baystation fix to neckgrabs always flooring people, and makes resisting out of grabs when you are weakened a bit more harder.
Fix the lack of delay when attacking a ninja nest
Carp now have a chance of staying after their event ends
2017-01-14 12:36:00 +02:00