Commit Graph

13050 Commits

Author SHA1 Message Date
Arokha Sieyes
857767431a Scanner and Sleeper Eris Icons 2017-04-19 23:54:07 -04:00
Arokha Sieyes
647350eedb Eris Computer Icon Tweaks 2017-04-19 23:53:53 -04:00
Arokha Sieyes
47ff29c04b Move to Eris Computers 2017-04-19 16:51:10 -04:00
Arokha Sieyes
49b31344f5 Removes all the hard references to computer.dmi
I assume these were all lazy copy-pasting. We're changing computer icons to another set in a file we'll keep separate, and these completely pointless references are annoying. They should inherit this from the `/computer/` level, which they do. Has no effect on Polaris, but cleans up code that shouldn't exist.
2017-04-19 16:51:03 -04:00
Arokha Sieyes
0fc44292a5 Tether-style Firelocks 2017-04-19 16:50:50 -04:00
Arokha Sieyes
35d067bed0 Allows turf unalloc in planets 2017-04-18 23:34:10 -04:00
Arokha Sieyes
6750a39900 Controllerized Planets
Controller with deferrals and SCHECKs to be specific. Won't lag while updating the sun, weather, or temperature.

Also moved some vars around. Namely the planet walls are stored on the planet, not in the weather_holder.

Planets now have their own turfs, the controller 'gives' them to the planets each cycle if there are any unallocated turfs in the global lists, to avoid iterating over other planets' turfs if you have more than one, then cuts the lists if you were crazy and some turf added some invalid type. This saves us type-checking in the for() loops later to make them crunch faster. The former operation should only happen once at the start of the game (and maybe very rarely when turfs are added/removed from a map during the game).

With regards to the temperature updates, rebuilding the zone entirely is an intensive operation. Instead we can use this new cheaty proc to do it from over here. ZAS code outside ZAS oh noooo. Well, the option is to snowflake this case into ZAS which is maybe worse?

Only downside to all this is that if you manually set weather and time it might take between 1-60 seconds for the controller to get around to checking if you wanted to update it. That's not that big a deal. If you really want you can now debug that controller and call doWork on it.
2017-04-18 23:34:02 -04:00
Leshana
05e6260dc8 Add alarm sounds to air alarms and fire alarms. 2017-04-18 23:21:07 -04:00
Leshana
6e56fc99c6 Port Eris icons and sounds for lightswitches and sounds for buttons
* New icons for light switches, based on Eris light switch icons, except these ones go up/down for on/off!  And have glowing button overlays.
* Added sounds to clicking buttons!
* Brought over a few more icons for objects that will likely be useful for parts lathe.
2017-04-18 23:20:58 -04:00
Leshana
777c41044c Implements footstep sound system and adds sounds to various floor types.
* Adds system for turfs to have "footstep sounds" that play when someone walks over them.
* Adds system for floor types (the kind of turfs where you can put tiles on them) to support the footstep sounds.
* Adds sounds to plating, tiles, wood, and carpet floor types.
* Footstep sound system is configurable in game_options.txt, it can be turned off completely or the volume adjusted.
2017-04-18 23:20:25 -04:00
Leshana
706ca5d0eb Ports new floor decals, floor types, and floor sprites from Eris 2017-04-18 23:20:17 -04:00
Leshana
45ebc1a16f Lights icons, sounds, and alert animations
* Ports Eris sprites for lights
* Plays a sound when lights turn on.
* Fire and atmos alerts now use flashing colored lights!
2017-04-18 23:20:09 -04:00
Leshana
6058225d9b Ported Eris signs, plus some custom directions signs.
* Addded a Command department directions sign.
* Added a Space Elevator directions sign.
2017-04-18 23:20:02 -04:00
Leshana
a6ae62b13b Ported Eris's "railings"
* Railings are an ON_BORDER object that looks like a railing; you can throw and reach across it, but it stops you from falling into holes or whatever.
* Mobs can climb over them (or throw other mobs over them!)
* They are construtable/deconstructable.
* Smoothly auto-joining sprites to look like a railing.
* Changes from Eris:  Converted << to to_chat(),  Desnowflaked some code, Fixed being able to climb over when windows are in the way.
2017-04-18 23:19:26 -04:00
Leshana
ceaf03a63d Ported Catwalks from Eris
* Catwalks are an upgrade to lattice; instead of just a framework of wires its a mostly solid grid walkway.
* They are semi-transparent so you can see wires/pipes below them a bit.
* Smoothly auto-joining sprites to look proper.
* Constructed by upgrading lattice; like lattice it will stop you falling if build over an open space.
* Changes from Eris: Converted << to to_chat(), fix redraw on Destroy(), Fix color macros in text.
2017-04-18 23:19:18 -04:00
Arokha Sieyes
3e16f6bfbe Improves Area Atmos Computer
As in, the heavy scrubber controller computer. This adds a 'tag' version as well, that allows you to map in specific tagged ("scrubber_tag") computers so you can more accurately control what scrubber goes where. For example, if you had a map that was mostly phoron airlocks!!!
2017-04-18 23:03:09 -04:00
Arokha Sieyes
f7b73bc2d9 Eris Doors/Airlocks
Really.
2017-04-18 23:03:09 -04:00
Leshana
5dac8b91b6 Merge branch 'master' of ../Polaris into polaris-sync 2017-04-18 19:35:59 -04:00
Anewbe
075cc0dde4 Merge pull request #3324 from VOREStation/port-bay-multiz-fixes
Ports a few fixes to multi-z and related code from Bay
2017-04-18 14:20:16 -05:00
Anewbe
55d895aa14 Merge pull request #3327 from Atermonera/Translator_Languages
Fixes a runtime with borgs and translators
2017-04-17 23:25:01 -05:00
Atermonera
e5e5c446a6 Fixes a runtime with borgs and translators 2017-04-17 21:01:42 -07:00
Neerti
b551a30f3c Merge pull request #3319 from VOREStation/zero-pressure-water
Fix lung rupture while drowning in water.
2017-04-17 22:56:14 -04:00
Neerti
2980e31583 Merge pull request #3321 from Yoshax/iamthehumantorch
No longer shall ye burn from water
2017-04-17 22:48:52 -04:00
Anewbe
46d447e478 Merge pull request #3326 from Cerebulon/techoriginsfix
Fixes improperly formatted tech_origins
2017-04-17 20:57:28 -05:00
Cerebulon
843a59ca07 Fixes improperly formatted tech_origins for hatchet, scythe, reinforced glass, mechanical trap, kitchen utensils and kitchen knife. 2017-04-17 19:31:01 +01:00
Yoshax
b6fb86cd95 Does what ze captain wants 2017-04-17 18:43:31 +01:00
Leshana
ff3c5238aa De-snowflake thrown objects hitting turfs.
* Port of https://github.com/Baystation12/Baystation12/pull/16942
* Actually tell turfs when a thrown object hits them, and let them decide what to do about it!
  * We do this by calling hitby(), which is how it already works for obj and mob, so this makes behavior consistent.
* This allows us to cleanly solve the problem of a thrown object landing on open space without falling.
2017-04-17 13:13:40 -04:00
MagmaRam
cec43bf3d2 Updates in-game EVA manual 2017-04-17 11:19:39 -05:00
Yoshax
1c000715dd No longer shall ye burn from water 2017-04-17 15:29:08 +01:00
Leshana
a118aad7b3 Fix lung rupture while drowning in water.
* When water returned null from return_air_for_internal_lifeform() the life code treats that as vacuum.  Instead we must return a mixture containing at least some gas.
* It will attempt to use the exhale type for the species, or fall back to carbon_dioxide if it can't find that info.
2017-04-17 00:26:19 -04:00
Leshana
7a4dc4bf79 Merge remote-tracking branch 'polaris/master' into polaris-sync
# Conflicts:
#	html/changelogs/.all_changelog.yml
#	maps/RandomZLevels/zresearchlabs.dmm
2017-04-15 23:14:32 -05:00
Anewbe
1fbef2de5b Merge pull request #3286 from VOREStation/smooth-lighting
Port tg/paradise/goon soft-edge lighting
2017-04-15 22:52:42 -05:00
Anewbe
e455aba104 Merge pull request #3254 from Anewbe/wallets
Wallets can now hold permits.
2017-04-15 18:43:17 -05:00
Anewbe
91bec124b8 Merge pull request #3292 from Neerti/4/13/2017_shields
Changes Shields
2017-04-14 23:47:23 -05:00
Anewbe
4a203c6559 Merge pull request #3304 from VOREStation/aro-pol-wingrille
Make wingrille spawners usable
2017-04-14 23:46:20 -05:00
Arokha Sieyes
c93836745f Make wingrille spawners usable
Makes the spawner object itself block air and prevent active edges before the game starts, so you can actually use these in maps now without creating tons of active edge warnings and making ZAS zones merge everywhere. Should save a loooot of time for mappers picking those window directions.
2017-04-14 21:35:49 -04:00
Anewbe
8142c8baa4 Merge pull request #3272 from LorenLuke/PDA-ID
Can remove ID from PDA via Alt-Clicking now.
2017-04-14 17:51:42 -05:00
Neerti
cc64f0e537 Merge pull request #3255 from Anewbe/bartender_weapon_permit
Gives the bartender a weapon permit in their spawned item list
2017-04-14 01:04:19 -04:00
Neerti
770f3d4ab5 Merge pull request #3290 from Anewbe/antag_infections
Ling and Technomancer now have ways to cure infections
2017-04-14 01:02:11 -04:00
Yoshax
91e060621d Fixes scrubber Phoron scrubbing 2017-04-13 22:32:40 +01:00
LorenLuke
26c3653aec Changes most '<<' to 'to_chat()' 2017-04-13 12:46:04 -07:00
Neerti
c84ab67fd3 Changes Shields
See PR for details
2017-04-13 00:36:13 -04:00
Anewbe
d1657e23c2 Ling and Technomancer now have ways to cure infections 2017-04-12 19:15:32 -05:00
Leshana
f2956464b8 Replace direct access of lighting overlays with T.get_lumcount() 2017-04-12 19:11:53 -04:00
Leshana
e8af4afc88 Port tg/paradise/good soft-edge lighting
Ports https://github.com/ParadiseSS13/Paradise/pull/6161
Its merged in nearly verbatim as far as the lighting module goes.
Changes outside the lighting module are merged based on our codebase.
2017-04-12 19:11:45 -04:00
Anewbe
95aff3ae40 Tweaks the message given when a weapon dulls 2017-04-12 16:22:17 -05:00
Anewbe
21d833746d Merge branch 'master' of https://github.com/PolarisSS13/Polaris into weapon_dulling 2017-04-12 16:10:58 -05:00
Leshana
45058136e2 Replace opacity = X with set_opacity(X) so that the lighting system can update propertly. 2017-04-11 22:36:48 -04:00
Neerti
920ad74e42 Merge pull request #3279 from Anewbe/borg_cuffs
Should fix borg handcuffs
2017-04-11 21:54:56 -04:00
Arokha Sieyes
ebb2bf9675 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into aro-sync2 2017-04-11 21:29:07 -04:00