Commit Graph

189 Commits

Author SHA1 Message Date
DeityLink
0f9180bf19 The Paint & Linen Update [Splinter 4]: Painting Brush, Palette, Canvas, and Paintings changes (#35530)
* Soft Reset

* fix issues

* radium fluff

* :agony:
2023-12-10 17:53:03 -06:00
nervere
e6444e3669 deprecate remaining hook handlers to use events instead (#34504)
* deprecate revs hook handler

* properly deprecate revs hook, deprecate apes hook, make apes into faction and role datums

* make apes into faction and role datums

* remove redundant reboot hook handler and hook

* handle media setup in login

* remove mob hooks

* replace MobAreaChange hook

* remove rest of hooks and remove files from dme

* no more SetupHooks()

* MobAreaChanged event and move jukebox hook into proc

* fix OnMobAreaChanged proc

* byond sux

* remove unused event

* fix title music

---------

Co-authored-by: nervere <sage@lulz>
2023-11-19 00:44:37 +00:00
Volttekka
a0aab1af6e Adding the ability to paint on floors with brushes, and also the ability to use multiple crayons from a box while floorpainting (#35367)
* Update painting_brush.dm

* Update custom_painting_datum.dm

* Update code/modules/html_interface/paintTool/custom_painting_datum.dm

Sounds good

Co-authored-by: jellyveggie2 <78439377+jellyveggie2@users.noreply.github.com>

---------

Co-authored-by: jellyveggie2 <78439377+jellyveggie2@users.noreply.github.com>
2023-11-18 23:08:58 +00:00
ValkyrieSkies
8b520b5858 Removes the stupid snowflake kill phrase system 2023-10-13 02:33:38 +01:00
ShiftyRail
db9dce75a8 Fixes manuals being printed as books (#34948) 2023-08-29 15:39:39 -05:00
DeityLink
8772159353 fixes persistence (#34736) 2023-07-20 21:23:35 -04:00
DeityLink
0c1ac9db23 Bhangmeter re-write and other explosive goodness (#34598)
* bhang

* meter

* you've done your time

* explosion goodness

* oh

* derp

* some failsafes

* herp

* the end is never the end

* is never the end

* is never the end

* is never the end

* just keep on testing until it's perfect

* uh

* testing is never over

* alright that's enough

* nevermind, here, blastcanon to your FACE!

* sleep is overrated anyway

* alright enough

* smirk~1.png

* don't want overcap set unless we go past maxcap

* fixes conflicts

* fixing conflicts and applying requested changes
2023-07-14 19:43:46 -05:00
DeityLink
8ee3d048eb Station Holomap Workplace Finder (#34588)
* Workplace Finder

* derp

* image

* multi

* herp
2023-07-14 18:23:03 -05:00
ShiftyRail
aa6e972728 Remote gallery viewer - a library for painting (#34617)
* Add a remote gallery computer.

* mapping

* db names

* leftover

* leftover2

* Rework search query

* Mapping + sprites

* Update code/modules/library/computers/remote_gallery_access.dm

Co-authored-by: jellyveggie2 <78439377+jellyveggie2@users.noreply.github.com>

---------

Co-authored-by: jellyveggie2 <78439377+jellyveggie2@users.noreply.github.com>
2023-07-14 05:34:44 -05:00
ShiftyRail
2c92a980f2 Graffiti... but epic (#34622)
* Graffiti... but epic

* welp

* remove extra

* height

* walls

* stuff

* Proper transparency support (#14)

* true transparency

* revert accidental .controlColumnNarrow, it's just a gist thing

* fix

---------

Co-authored-by: jellyveggie2 <78439377+jellyveggie2@users.noreply.github.com>
2023-07-14 05:34:29 -05:00
DeityLink
733a5646b2 Enhanced Snow Station Holomaps (#34579)
* Snaxi

* herp

* more polish

* let's not block the taxis shall we

* taxi legend

* ok that fixes it

* some commentary, and that's it

* Update code/modules/html_interface/map/station_map.dm

* zLevel

* blur proc
2023-07-05 21:48:45 -05:00
Kurfursten
c5768ec909 Cleaner World Log (#34419) 2023-06-27 09:00:00 +01:00
nervere
003f282aae initiating a vote while in-game no longer uses your in character name (#34241) 2023-05-10 17:16:08 -05:00
SECBATON GRIFFON
d8c8a9bb90 Adds qdel defines (#33991)
* Adds qdel defines

* Adds qdel defines

* halfway through fixes

* rest of em

* fixes

* adds more

* list in action

---------

Co-authored-by: SECBATON GRIFFON <sage>
2023-02-10 15:01:18 -06:00
d3athrow
37726685cc Revert "Update voting.dm (#32966)" (#33141)
This reverts commit 2dc979409f.
2022-09-10 22:28:20 +01:00
adacovsk
2dc979409f Update voting.dm (#32966) 2022-08-22 18:29:14 -05:00
adacovsk
b683032557 Update voting.dm (#32905) 2022-07-11 11:08:57 -05:00
adacovsk
dd812afa55 Stop players from voting prior to round start (#32903)
* Update voting.dm

* Update voting.dm

* Update voting.dm
2022-07-11 04:19:44 -05:00
adacovsk
3474e39817 Allows players to call for restart or map vote (if everyone is dead and no admins online) (#32883)
* rock the vote

* tweaks

* Update voting.dm

* should work

* Update voting.js

* Update voting.js

* Update voting.dm
2022-07-10 11:34:53 -05:00
jellyveggie2
a2cfad537c Fix for palettes getting gunked by empty brushes, and minor palette refactor (#32548)
* "later today" he said, more than a month ago

* whoops
2022-05-09 05:38:27 +02:00
adacovsk
d29f1d38f0 Fixes admins softlocking via Nar'Sie (#32320)
* Fix softlock

* Update voting.js

* Update voting.dm

* tweak

* Update gameticker.dm

* Update communications.dm
2022-04-14 03:16:58 -05:00
adacovsk
cfacc40135 Voting Methods (#31907)
* Voting System

The current voting system is very confusing and difficult to use or modify, so I updated it.

I also have added another voting method, described in #31803. Do not be alarmed, weighted voting is still used, but other methods will be available.

* Everything appears to work

Weighted and majority definitely work

* Update voting.dm

* admin can change from votable or nonvotable

* Revert "admin can change from votable or nonvotable"

This reverts commit 6d0c547958.

* done

* Update voting.js

* done done

* a

* Update voting.dm

* can change voting method

* Update voting.dm

* Update persistence_misc.dm

* a

* Voting Methods

I'll try again now that I separated the changes. Hear me out: I'm just adding new methods, they are not used unless an admin uses them, or a PR is made to change the default. The default remains the same as before. Adding two voting methods: persistent (works only for maps) and random (meme). Considering adding another methods too upon request.

* not working

* done

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm

* eyup

* Update voting.dm

* Update voting.dm

* Update persistence_misc.dm

* Update voting.dm

* Update voting.dm

* Update persistence_misc.dm

* done

* done

* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm
2022-03-11 18:43:33 +01:00
adacovsk
a88a93163c Update voting.dm (#32135) 2022-02-24 19:14:28 -06:00
adacovsk
257f1bda56 Voting hotfix (#32134)
* Update voting.dm

* Update voting.dm
2022-02-24 21:59:55 +01:00
adacovsk
3c4288979f Voting.dm associated files tweaks (#32064)
* Trying

* works

* Update voting.js

* Update voting.js

* Update voting.js

* moved text
2022-02-24 11:22:37 -06:00
adacovsk
837ec41dfb Voting fix (#32039)
* Update voting.dm

* Update voting.dm

* Update voting.dm

* Update voting.dm
2022-02-10 06:49:51 +01:00
adacovsk
4053d58b83 Voting System (again) (#31966)
* Voting System

The current voting system is very confusing and difficult to use or modify, so I updated it.

I also have added another voting method, described in #31803. Do not be alarmed, weighted voting is still used, but other methods will be available.

* Everything appears to work

Weighted and majority definitely work

* Update voting.dm

* admin can change from votable or nonvotable

* Revert "admin can change from votable or nonvotable"

This reverts commit 6d0c547958.

* done

* Update voting.js

* done done

* a

* Update voting.dm

* can change voting method

* Update voting.dm

* Update persistence_misc.dm

* a

* Update admin.dm

* sorry

* minor optimization

* Update voting.dm
2022-02-09 18:32:26 -06:00
adacovsk
efbb0494fb Revert "Voting System (#31884)" (#31965)
This reverts commit 11953788f0.
2022-01-31 21:18:25 -06:00
adacovsk
11953788f0 Voting System (#31884)
* Voting System

The current voting system is very confusing and difficult to use or modify, so I updated it.

I also have added another voting method, described in #31803. Do not be alarmed, weighted voting is still used, but other methods will be available.

* Everything appears to work

Weighted and majority definitely work

* Update voting.dm

* admin can change from votable or nonvotable

* Revert "admin can change from votable or nonvotable"

This reverts commit 6d0c547958.

* done

* Update voting.js

* done done

* a

* Update voting.dm

* can change voting method

* Update voting.dm

* Update persistence_misc.dm

* a

* Update admin.dm
2022-01-31 18:11:03 -06:00
jellyveggie2
433f57e873 bucketfill (#31798) 2022-01-10 19:01:08 -06:00
SonixApache
38be48b608 puts paintings on scoreboard (#31720)
* puts paintings on scoreboard

* allows admemes to ban specific paintings from the scoreboard

* lost in translation

* adds artistbans

* attempt at sorting by artist

* sorting works but it's not grabbing the multiple entries anymore

* better artistban

* 100% functional, blessed exxion

* remove debug

* good catch, linter

* now with 100% more tables!

* now with 100% less ckeys!
2021-12-31 17:18:13 -06:00
jellyveggie2
37b6fcd9a4 Palette crayon fix (#31692)
* Fix crayons bricking palettes

* Fix colors from pens (and now crayons) refusing to mix with other colors on palette
2021-12-25 11:31:31 -06:00
jellyveggie2
07816e1821 Painting UI extras (#31699)
* Template width, offset, and import error messages

* Grid toggle

* oops, missing <br>
2021-12-25 11:31:26 -06:00
jellyveggie2
af32149e4e Easels and frames (or lack thereof) (#31695)
* Canvas now start without a frame, can be added with wood. Should help them fit on easels better. Couple fixes and changes here and there too.

* Adds easels, more or less finished. Codersprite needs updating.

* Couple tweaks. Everything else is in future spriters' hands
2021-12-25 11:30:44 -06:00
jellyveggie2
92e1ba6acf Fix RGB/RYB conversions and brushes not updating their icon after mixing. Also update some docu on paintTool.js (#31643) 2021-12-15 20:41:27 -06:00
jellyveggie2
0767c90b1e Fix paintings not saving changes (#31648) 2021-12-15 00:09:50 +00:00
jellyveggie2
f668a164d4 Some painting fixes (#31632)
* Fix supply packs

* Fix painting descriptions so you can tell what kind of canvas an item is

* Have palette (item) colors show up on painting UI palette

* Fixes templates sometimes being broken due to opacity, and a few minor things here and there.

* Fixes remote painting. Also fixes a bunch of inconsistencies between paintings in item vs structure form, conversion between the two, glass pane behavior, descriptions, etc.
2021-12-14 16:05:47 +00:00
ShiftyRail
d66a3da9d5 Custom painting revival (#31563)
* First steps. Template and some BYOND-side work

* Change of plans, fuck NanoUI, we html_interface nao.
Canvas painting code moved to it's own .dm, .tmpl split into .tpml and .js.
You can use a pen on a canvas to start drawing, can't save your drawing yet but it loads whatever data was already in there.
So far so good.

* Tweaks nanotrasen.css cause it SUCKS.
Link buttons behave like shared.css', and text inputs look better (that border had no business being so thick).
TODO: Check the MSGS' _UI cause it had a button input that looked like ass because of the CSS applying to all inputs

* UI and UI code overhaul. Topic receives data.
TODO: clean up UI code, It's a mess. paintTool.js should probably get split up further, separate the painting from the blending modes or something.

* Sanity, saving, description, and href-multi integration

* Yay, procastrination. Also, split UI and Topic logic into reusable datum separate from object, and some more sanity.
I really should get to the "display the painting in-game" part at some point

* IT WORKS! Paintings are showing up in game.

* Crayons! And pens and color and stuff

* Soap to clean/blank, and moving "Title" before "Author" on UI

* Couple fixes

* Paint brushes! Icons may need replacing, specially inhands

* Cyan paint bucket. UPDATE WIKI: SUPPLY PACKS

* Container fix. Picking a human's blood color as paint is funny, but weird

* Can't quite remember what I was up to last time, moved files to their own folder on /module I guess. Just, getting my stuff out there for a PR

* Supply crate and Eneocho's glass idea

* fugg

* Color transparency and movement throttling

* Hair dye spray cans.
Outperformed by rainbow crayons, those get two colors on top of the picker. Should implement brush size to give them an actual advantage. Maybe stronger paint?

* Fixes a couple oopsies after rebasing to (as of writing) current Bleeding Edge

* new icons

* .dme

* Palette

Co-authored-by: JellyVeggie2 <78439377+jellyveggie2@users.noreply.github.com>
2021-12-12 14:33:51 -06:00
Shifty
e9a1793867 yes weighted voting 2021-12-10 23:03:54 +00:00
ShiftyRail
65ff225083 Voting cancelling clarification (#31556)
* Voting cancelling clarification

* logs

* Update voting.dm
2021-12-08 16:26:06 -06:00
ShiftyRail
67026ac5e1 Bring back TRUE democracy (#31551)
Democracy is not the tyranny of the majority. Never has been, never will.
Democracy is about protecting the rights of the minorities while ensuring the governement works for everyone.

We MUST fight for the rights of indigenous meta-voting PoC (People of [map] choice). The future cannot be all Box, Roid, and Box again.

Weighted voting works in such a way that if, globally, 20% of people vote for Packed, Packed will be played, on average, 20% of the time. This is true fairness.
Absolute voting means that if, globally, 40% of people vote for Box, 39% for Roid and 21% for Packed, Box will be voted 100% of the time.

This is absolutely unfair and a real danger to map diversity, ~~equality, and inclusion~~.

🆑
- rscadd: Bring back weighted voting.
2021-12-08 09:15:11 -06:00
D3athrow
c448ec3212 no weighted votes 2021-12-04 12:49:08 -06:00
D3athrow
0200e71bcc the purg3 means no rules 2021-12-04 04:20:41 -06:00
kane-f
0a808eca1e Changes z-level defines to map datum vars (#31268)
* Changes z-level defines to map datum vars

* Compile?

* Maybe now

* Map compile

* Updating these

* Adding this back again

* Nicer

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-11-13 08:53:03 -06:00
kane-f
37f4fee47f Shuttle floor and wall update (#30963)
* Refactors shuttle turfs into normal types of floors and walls

* Moving macro

* Redundant vars

* Brig floor

* Better as this type

* Last tweaks on types

* Some more sanity

* Better way

* Now smoothing should work

* Well, if you say so

* Adding these

* Oh actually we do need it

* Smoothwall support

* Fixed corners

* Stock icon state for this

* Converting to smoothwalls

* These too

* More optimisations

* Smoothing now more like original

* Typos

* Icon cleanup

* More progress

* Diag walls in practice

* Fixing box

* Actual box fix

* Slight tweak

* Weird dir 3 thing gone

* Repath

* More cleanup

* Even more

* 2 more

* Moooore cleanup

* More icon trimming

* More cleanup

* Removing redundant type

* More refactor

* Bswall cleanup done

* Non corner walls done

* Beginning diag cleanup

* Last of corners refactored

* Icon cleanup

* Redundant dirs

* Bagelstation

* Fixing most lightspeed ships

* Boxesstation

* Lot of centcomm shuttles fixed

* lowfat, roid, packed

* Roid fix, waystation

* Deff, meta

* Horizon

* Lamprey, somehow

* Snaxi, castle

* Xoq, snowbox

* Synergy, all main maps done

* Some vaults

* All vaults done

* All working away missions done

* Adding turfs underneath these, touch up afterwards

* Waystation again

* Turfing rest too, also fix afterwards

* Waystation again (again)

* Bagels

* Snowmaps

* Meta and deff

* And finally, lamprey

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-10-06 16:42:55 -05:00
DamianX
c9d6a779d6 tgui security cameras, removed advanced security camera console (#30607)
* tgui security cameras, removed advanced security camera console

* Si può fare!

* You didn't see that

* don't need this shit anymore
2021-09-17 16:32:16 -05:00
DamianX
aeb1ab8b4d Gotta go fast (#23609)
* Jukebox playlist cache 40% faster

* Cached minimaps

* add the txt to .gitignore
2021-09-12 00:23:12 +01:00
DeityLink
f351b6a442 Removed deprecated references to the psychiatrist job and its access (#30603) 2021-09-07 11:51:48 -05:00
DamianX
d7998d9782 fix voting (#30048) 2021-07-20 12:04:36 -05:00
DamianX
667f55d147 Available maps are determined by code (#30017)
* Available maps are determined by code

* Fixed github actions
2021-07-19 14:48:43 -05:00