Commit Graph

12326 Commits

Author SHA1 Message Date
Bjorn Neergaard da4842dddf Make NanoUI resistant to Topic spoofs
Move Topic() into a NanoUI-specific ui_act proc
Update to @YotaXP's latest JSON code.
Return focus to the mapwindow if a key is pressed in a NanoUI.
2015-12-15 22:37:52 -06:00
Bjorn Neergaard 070a081db8 Improve focus code; fix SVG
Replace the NT SVG with a better version
Always try to give focus back to the mapwindow

Also make links more obvious
2015-12-15 19:41:56 -06:00
Bjorn Neergaard 9a3b9f8166 Add a loading spinner to NanoUI...
This is kinda dirty because we use external resources; however, the
point is that if assets are not loaded, we need to show a spinner.
2015-12-15 15:00:44 -06:00
YotaXP 2869b1cf61 Re-write JSON writer to output valid JSON
How the old one worked, I don't know...
We don't have a reader yet, but we don't use a reader sooo...
2015-12-15 14:41:34 -06:00
Bjorn Neergaard 88ed7623fc Re-organize nanoui.dm 2015-12-15 14:26:19 -06:00
Bjorn Neergaard 57a1f6c695 Enable NanoUI to go chromeless
Add a new 'Fancy NanoUI' preference to enable chromeless mode
2015-12-15 13:13:12 -06:00
Bjorn Neergaard 47b727a23e Rework how NanoUI handles Topic()
Also, add the ability to winset and the like, all from Javascript
2015-12-15 13:12:35 -06:00
Bjorn Neergaard 5678dfcbd1 Prefix everything with 'nanoui' to avoid conflicts 2015-12-15 13:12:33 -06:00
Bjorn Neergaard c3442475fa Modularize CSS and JS; SVG
Purge NanoUI assets as we now have a gorgeous Nanotrasen SVG logo
Thanks to @YotaXP for helping me with cleaning up the logo
2015-12-15 13:11:56 -06:00
Bjorn Neergaard f089428e63 Coffeescript; Bower; Gulp; asset_cache
We now write frontend code in Coffeescript, alongside our LESS.
PostCSS adds hacks to make CSS work on old versions of IE.
Bower is used to manage dependencies.
Gulp is used to build the code.

Images are dropped in favor of SVG or CSS effects.

NanoUI is now a 'simple' asset in the asset_cache
2015-12-15 13:09:51 -06:00
Bjorn Neergaard 979e71ea26 Restructure NanoUI frontend; use build tools
Yes, you now need Node.js... I'm sorry, but this makes
it so much easier to write NanoUI.

We now precompile all the things...
2015-12-15 13:09:04 -06:00
Bjorn Neergaard 8fdfa08e58 Port NanoUI styles to LESS 2015-12-15 13:08:27 -06:00
Bjorn Neergaard a0c54eba97 Begin rewrite of NanoUI frontend.
* Remove jQuery in favor of polyfills.
* Make NanoUI work with IE8-IE11
* Upstream doT
* Change NanoUI template syntax
* Event driven code
2015-12-15 13:07:11 -06:00
Cheridan 46bd68f803 Merge pull request #13627 from xxalpha/smoothballs
Fixed icon smoothing in loaded maps for good.
2015-12-15 11:36:43 -06:00
phil235 bd4ccdb251 Merge pull request #13634 from KorPhaeron/patch
Fixes styptic not working in patches
2015-12-15 14:12:01 +01:00
duncathan salt 88382e0d9c Merge pull request #13577 from tgstation/RemieRichards-patch-2
[s]Computer ID is a string, Thanks byond.
2015-12-14 23:49:03 -06:00
WJohn 423e501b85 Merge pull request #13612 from RemieRichards/sniper_sprites
Sniper Rifle Update (Sprites+AP)
2015-12-14 22:57:16 -05:00
Cheridan 2a6a63253b Merge pull request #13608 from KorPhaeron/fire_defines
Makes burn_state use defines
2015-12-14 10:44:10 -06:00
Cheridan 593670239c Merge pull request #13604 from optimumtact/patch-6
Remove hulk stun punch
2015-12-14 02:26:26 -06:00
KorPhaeron 619464f4e9 Patches 2015-12-14 00:52:39 -06:00
Cheridan e7ba51a0a2 Merge pull request #13601 from Incoming5643/glopatch
Fixes glowcaps being planted as glowshrooms
2015-12-14 00:46:53 -06:00
xxalpha 051e5b889b Added code to resmooth loaded maps atoms. 2015-12-14 01:41:18 +00:00
Cheridan 1e4b902ab1 Merge pull request #13595 from Menshin/broken_solar_fix
Fixes broken solar devices giving intact sheets back on deconstruction
2015-12-13 17:43:46 -06:00
Cheridan bc164c9498 Merge pull request #13582 from Incoming5643/Ill_turn_this_game_into_a_shitty_F2P_korean_MMO_yet
[RPG Loot Intensifies]
2015-12-13 15:04:53 -06:00
Remie Richards c1cf3c42b0 Added sniper rifle sprites, and ammo mag sprites, Added 50 AP to standard sniper rounds, allows sniper to be worn on back. 2015-12-13 19:39:05 +00:00
KorPhaeron d8a37204e7 Makes burn_state use defines 2015-12-13 05:36:55 -06:00
oranges fc58a3d31c Damage standardisation for hulk punch 2015-12-13 21:53:30 +13:00
oranges ed03ffd21b standardise damage across slimes 2015-12-13 21:51:57 +13:00
oranges 94af31f7a9 Remove hulk stun punch
Increase hulk damage
2015-12-13 21:49:03 +13:00
Incoming 61e5dafb42 An oversight meant that while planted glowcaps worked fine, they'd never be created. 2015-12-13 01:33:21 -05:00
Cheridan dff14aa0f9 Merge pull request #13563 from RemieRichards/snipper_wiffle
Adds a sniper rifle and 3 ammo types to the Nuclear Operative uplink.
2015-12-12 23:55:55 -06:00
duncathan salt d228f911fa Merge pull request #13522 from KorPhaeron/just_an_illusion
Reactive Illusion Armour
2015-12-12 19:07:30 -06:00
Cheridan 0979b72d29 Merge pull request #13554 from bgobandit/banditfixyourshit
More mining fixes and tweaks.
2015-12-12 18:18:18 -06:00
Cheridan 91c3d79f09 Merge pull request #13524 from KorPhaeron/heavy_weapon
Slowdown from inhand items
2015-12-12 18:17:47 -06:00
Menshin 5142a97d0e Fixes broken solar devices giving intact sheets back on deconstruction. 2015-12-12 23:40:49 +01:00
Cheridan 45c06ae2cd Merge pull request #13555 from bgobandit/sexyhonk
Buffs the sexy clown.
2015-12-12 13:00:46 -06:00
Cheridan 76ac529d1b Merge pull request #13568 from KorPhaeron/leap_fix
Hunter leap fix
2015-12-12 12:58:10 -06:00
Cheridan 99e7506731 Merge pull request #13572 from KorPhaeron/creepy_crawly
Various Spider Fixes
2015-12-12 12:43:03 -06:00
Cheridan 92dcb09fff Merge pull request #13565 from Incoming5643/my_curse_MY_CURSE
I fudged fudge dice
2015-12-12 12:40:46 -06:00
Remie Richards 36d2f54c69 Zooming is now a /gun level ability, enable-able at gun creation via a "zoomable" var, Zooming can be properly enabled externally by calling the build_zooming() proc on any gun. 2015-12-12 15:26:17 +00:00
Incoming 4c909afb08 The commit so nice I did it twice 2015-12-11 20:22:10 -05:00
Incoming fdc87e9324 Replaces the armor bonus with something that should actually work 2015-12-11 20:12:21 -05:00
Incoming 7ce9267a7d The much beloved rpgloot wizard event has been intensified. Modifiers on items can now range between -15 and +15, though items will follow a normal distribution centered around 0. See the PR for exact odds.
Additionally items armor values are now also affected by this event, and can add (or remove) up to 15 percent damage from all (defend-able) sources.

Additionally a special new gimmick has been added, new "item fortification scrolls" will be thrown randomly into all containers with room to hold them (read: this mostly means things like backpacks). Using these scrolls on items allows you to rank them up one level (this doesn't change their name though, trust me it's too much to do for a silly event).

BEWARE however that using these scrolls on items with very high modifiers (+10 or more) has a chance of failing and setting fire to the item. The highest possible modifier you can achieve with these scrolls is +19, though again the grand majority of items will burn well before this point.
2015-12-11 19:32:32 -05:00
Cheridan 6fa38380ae Merge pull request #13503 from KorPhaeron/reactive
Fixes all clothing having a chance to block thrown items
2015-12-11 17:46:01 -06:00
Cheridan a5d6d832f8 Merge pull request #13553 from AnturK/cant_say_no_to_probing
Fixes Abductor event firing up multiple times
2015-12-11 17:18:46 -06:00
Cheridan 78093c0bf0 Merge pull request #13556 from bgobandit/matsagainfuckina
Adds mats/origin tech/burn_state to more items.
2015-12-11 17:13:42 -06:00
Razharas 7929c027fa Merge pull request #13550 from Incoming5643/new_wizard_meta_just_look_for_the_people_who_arent_fucked_up
Apprentice clean up / bugfixes
2015-12-11 22:50:46 +03:00
Razharas 850f8c6792 Merge pull request #13538 from Incoming5643/no_a_blob_didnt_spawn_stop_asking
Fixes false alarm picking late round exclusive events early
2015-12-11 22:48:12 +03:00
Razharas 5b5e48bad8 Merge pull request #13526 from Lo6a4evskiy/ninja-fixes
Fixes ninja suit not draining energy after running out of it once
2015-12-11 22:44:55 +03:00
Razharas 550d7779eb Merge pull request #13514 from tkdrg/dadadaDADADA
Fixes human canUseTopic() misbehaving
2015-12-11 22:43:36 +03:00