Commit Graph

16694 Commits

Author SHA1 Message Date
Arokha Sieyes
6d756f1f86 Eris APC Icons 2017-04-23 19:02:02 -04:00
Arokha Sieyes
9ed580c6b1 Eris Machines
Autolathe, Robotics machines, R&D machines
2017-04-23 18:30:39 -04:00
Arokha Sieyes
06ab089bb2 Eris Vending Machine Sprites 2017-04-23 17:56:43 -04:00
Arokha Sieyes
fd8a382dfb Eris Gas Mask Sprites 2017-04-23 17:33:51 -04:00
Leshana
ba36df71a7 Replace color macros and stream operator with style and to_chat 2017-04-21 14:25:12 -04:00
comma
260ccffe48 Updates cable construction
FOrgot to update it to new direction whoops.
Also makes powernet connectino proc for cables multiz aware.
Port of: https://github.com/Baystation12/Baystation12/pull/15940
2017-04-21 14:25:11 -04:00
comma
c16fba6c8d Makes cable use BYOND directions
Instead of 11,12 they use 32,16 for DOWN,UP
Merges multiz handling into main logic
Port of: https://github.com/Baystation12/Baystation12/pull/15907
2017-04-21 14:25:11 -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
1fe9939274 xXx Typo fixed in PR to upstream elsewhere 2017-04-19 16:11:52 -04:00
Arokha Sieyes
828255ac7f Open turf update_icon_edge when updating icons
So grass can edge into it.
2017-04-19 01:25:45 -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
f83dc49b82 Reduce footstep volume if walking or barefoot. 2017-04-18 23:20:49 -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
7237faf870 WIP - Leshana's improvements to z-level-falling code. Still in progress. 2017-04-18 23:19:48 -04:00
Leshana
ebaf958179 Upgraded to "see-down" open spaces, inspired by Eris:
* Instead of open spaces simply showing a static image of the turf below, it shows the turf, all objects, and even moving mobs.
  * Controller updates the view to floor below fairly quickly; mobs update in real time.
  * Open space can be examined to see how deep it is.
  * Mobs are examinable even when on floor below, using a special "zshadow" mob.
  * Changes from Eris: Heavily re-written to handle layering, special cases, rewrote controller etc.  Shadow mobs don't break entering turfs, etc.
* Update to properly layer the objects from multiple "below" floors in the case of tripple-stacked or more z levels.
* Added constant defines for the planes in use.
* Added open_space.dmi with blank_open icon state for open space's darkening overlay.
2017-04-18 23:19:41 -04:00
Leshana
31ff4a8b85 Fixed walking up stairs.
* Now they won't try and bump you up to the next z on the "lower" step of the stairway.  They also don't directly set `loc`  Therefore pulling objects up/down actually works.
* Sets their layer so they won't appear above actual objects and mobs.
2017-04-18 23:19:33 -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
3947afd624 Shadeless lamp
Title.
2017-04-18 23:03:09 -04:00
Arokha Sieyes
427966638f Merge pull request #1409 from VOREStation/polaris-sync
Polaris Sync 2017-04-18
2017-04-18 22:57:51 -04:00
Leshana
5dac8b91b6 Merge branch 'master' of ../Polaris into polaris-sync 2017-04-18 19:35:59 -04:00
Leshana
70a32fcfc6 Adds admin verbs for debugging process controllers
* Adds a verb for debugging any of the running process controllers.  Unlike the old debug controller verb, this one is not hard coded, so any present and future processes will be included.  Requires R_DEBUG (and R_ADMIN if in paranoid mode)
* Adds a verb for debugging the process scheduler itself.  This is hidden by default until debug verbs are shown.   Requires R_DEBUG (and R_ADMIN if in paranoid mode)
2017-04-18 19:04:38 -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
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
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
Leshana
b5dbe8492c Fix crash in turbolifts built on any z-level other than "1"
Port of https://github.com/Baystation12/Baystation12/pull/16941
* Turbolift auto-mapping code assumed that all lift's first floor would be on z=1.  Fixed so it picks the first floor instead of the zth floor from the floor list.
2017-04-17 13:13:39 -04:00
MagmaRam
cff6fc4150 Merge pull request #3313 from Anewbe/halt_fix
Sorta fixes the syntax on the *halt emote
2017-04-17 11:26:46 -05:00
Leshana
95b9dde94a Multi-Z code formatting and utilities.
* Global procs should start with /proc
* Use to_chat() macro
* Added utility to find all z-levels are connected (transitively adjacent) and utility to test if two levels are connected.
2017-04-17 11:57:49 -04:00
PsiOmegaDelta
663e2b2d4c Can no longer move up/down from non-turf locations.
Port of https://github.com/Baystation12/Baystation12/pull/16653/
2017-04-16 21:33:16 -04:00
Leshana
2e59e24dca Merge branch 'master' of ../Polaris into polaris-sync 2017-04-16 20:58:40 -04:00
Leshana
b9dd5233a6 Fix mining turfs permenently unlit.
* Mining turfs generated during random mapgen get their opacity changed
without a call to recalc_atom_opacity() becuase the game ticker has not
started.  Make sure we call it even before that point.
2017-04-16 14:46:09 -04:00
Neerti
d09cc7a57d Merge pull request #3306 from Anewbe/markings
Makes two more markings Taj only
2017-04-16 10:26:16 -04:00
Neerti
22c329e906 Merge pull request #3305 from VOREStation/aro-pol-planets
Make planets more generic
2017-04-16 01:30:55 -04:00
Neerti
c91d8cc767 Merge pull request #3273 from LorenLuke/Numpad
Allows usage of ctrl+numpad for target zone selecting.
2017-04-16 00:40:15 -04:00
Neerti
6d60fb7cd6 Merge pull request #3276 from Anewbe/bloodloss_tweak
Weakens bloodloss from burn damage
2017-04-16 00:16:40 -04:00
Leshana
e156339dbd Working theory 2017-04-15 23:15:19 -05: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
f4444f2dad Sorta fixes the syntax on the *halt emote 2017-04-15 20:35:17 -05:00
Leshana
a29b807953 Allow set_opacity() to work for turfs too.
Fixes lighting opacity not updating on mined rock walls and false doors.
2017-04-15 10:37:35 -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
29eb4f5425 Makes two more markings Taj only 2017-04-14 23:25:46 -05:00
Neerti
953574a57d Merge pull request #3303 from Anewbe/doona_faces
Diona should regrow faces now
2017-04-15 00:21:33 -04:00
Arokha Sieyes
aaeae6695a Make planets more generic
So that Sif doesn't have to be the only one!
2017-04-14 21:36:48 -04:00
Screemonster
e17449dd28 adds horse, cow, fantail and wagtail tails, and colorable antennae "ears" 2017-04-14 19:02:34 +01:00