Commit Graph

1017 Commits

Author SHA1 Message Date
Atermonera
94178864cf Adds preference to output description_info with examine text (#6969)
* Adds preference to output description_info with examine text

* includes the defines file
2020-04-09 22:20:45 -07:00
Aronai Sieyes
715de43f35 VChat: Redone chat output done in Vue.js (#6761)
* Better notifications

* Add buttons to del/move tabs in edit mode

* Add a <span> to emotes

* Fix duplicate IDs in VChat and add more logging

* VChat: Redone chat output in Vue.js

* Ported tg asset cache

* VChat DME Update

* Replace \image macro with bicon()

* NanoUI Subsystem Fixes

Don't do this, the asset subsystem does this for you

* Allow narrate/globalnarrate shenanigans

Allows HTML if your entire thing is HTML

* Disable bicon() icon object cache, and create text tag cache

* Ore Scanner is written incorrectly

Only revealed by vchat

* Fixes 2 VChat bugs

* Underline links in VChat

* Fix LOOC color

* VChat Improvements

Hopefully, anyway.
- Arbitrary font size setting
- Line height setting
- Multiple crush settings
- Rewrote how tabs work hopefully for performance
- Hidden messages are actually put elsewhere
- Attempts to correct chat backlog restore on rejoin

* Surgery steps to use <span>

* Some VChat Tweaks

- Chat remains between client reconnects if your client didn't close (so things like using the reconnect button, or autoreconnects at round end when that feels like working)
- The client doesn't send pings to the server, the server sends pings to the client. This fixes AFK measurements for AFK kick purposes.
- Turn latency indicator into a green/red indicator to show if you're connected, and when clicked will perform a one-time ping (and block doing it again for 10 seconds). It will display '?ms' if it never got a reply, or '999ms' if it did, but it was over 1s.

* Include date in filename for VChat log save

* Merge pull request #6767 from Cyantime/patch-2

Change chat export naming scheme

* Adds VChat tab saving

Saves every time you enter/exit edit mode. Persists between rounds, VChat reloads via verb, etc.

* Fix chat exporting when someone has used unicode

Only affects clients still using 512

* Use CLIENT_FROM_VAR for ease of code reading

* Update code/modules/client/asset_cache.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

* Fix runtime when client disconnects before vchat loads

* Fix polaris version of command reports

* Fix LOOC color in oldchat

* Put some styles in various adminpm messages

* Round info and advanced who spans

* Fix missing tag-end

* Maybe fix images for linux and statpanel but also doom everyone

Co-authored-by: ShadowLarkens <ShadowLarkens@users.noreply.github.com>
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-27 14:07:28 -07:00
Atermonera
728bb26524 Repaths collapsible white canes to not anger beepsky (#6896) 2020-03-25 13:37:44 -07:00
Atermonera
22e28f29fe Merge pull request #6804 from Cerebulon/bigsounds
Big Bastard Incidental Sound Port
2020-03-15 11:38:44 -07:00
Atermonera
920e495fdf Merge pull request #6813 from Neerti/occupation_screen_fix
Fixes the occupation screen.
2020-03-15 11:34:30 -07:00
Atermonera
0021a3b025 Merge pull request #6818 from Neerti/event_manager_fix_electric_boogaloo
Fully Implements R_EVENT for Event Managers
2020-03-12 12:01:07 -07:00
Neerti
7c84383f9c Fixes merge conflict. 2020-03-12 01:03:57 -04:00
Neerti
e8c51b9291 Makes R_EVENT go everywhere. 2020-03-11 23:17:24 -04:00
Atermonera
9436bdb65a Merge pull request #6725 from Meghan-Rossi/job_description_alt
Job description alt
2020-03-11 12:54:25 -07:00
Neerti
bfac11d4d8 Fixes the occupation screen. 2020-03-11 01:03:47 -04:00
Cerebulon
52e6669bf9 Big Bastard Incidental Sound Port 2020-03-08 23:25:45 +00:00
listerla
02f97a116e Adds ecigs and vaping (#6753)
* Adds ecigs and vaping

* Uncomments ssobj

Co-authored-by: lemon <lemon@localhost.localdomain>
2020-03-06 07:09:24 -08:00
Meghan-Rossi
3829efbc34 Fixes to allow for people in more than one department
Refactors head_position into departments_managed and department_accounts, so command secretaries keep command account access (which is presumable why they were marked as a head position) without being told they manage the command department.
2020-03-05 01:02:03 +00:00
Meghan-Rossi
efa4d4544b Merge remote-tracking branch 'Meghan-Rossi/master' into job_description_alt 2020-03-04 19:07:37 +00:00
Meghan-Rossi
f7d3fbb018 Fix html + Use accessor
-Fix html in job selection
-Fix not using an accessor for preferences.
2020-03-04 18:25:46 +00:00
Neerti
24fbd0b87e Half-Refactors Jobs (#6762)
* Somewhat cleans up a piece of job code, makes new ID computers not be awful.

* Changes ROLE_ defines to DEPARTMENT_ to be clearer. Backports the new ID computer's assignment section of its UI to the old ID computer.

* Swaps back to southern cross map.

* Removes a block of commented code.
2020-03-03 13:27:37 -08:00
Heroman
b727038eb2 Fixes a teshari mining undercoat 2020-03-01 12:04:50 +10:00
Atermonera
46c2c4c762 Merge pull request #6738 from VOREStation/vplk-sundry-fixes-runtimes
Fix Sundry Runtime Errors
2020-02-27 17:41:28 -08:00
Atermonera
8079b7f771 Merge pull request #6744 from listerla/pda-holo
Adds holoPDA from Aurora
2020-02-26 18:03:51 -08:00
Atermonera
37af18b86b Merge pull request #6733 from VOREStation/pol-aitweaks
Readd some AI features and improve AI buildmode
2020-02-26 17:14:50 -08:00
lemon
dcdd450d4b Adds holopda from Aurora 2020-02-24 16:55:12 -05:00
Leshana
76f1da5830 Fix Runtime in loadout.dm,277: bad index
Runtime happens when someone has a saved preferences loadout containing an item that currently is expected to have gear_tweaks, but at the time that the savefile was last saved, did *not* have gear tweaks.  Thus the saved prefs have null metadata.
Also it makes no sense to check the length of a list *inside* a for loop iterating over that list..
2020-02-24 00:02:17 -05:00
Aronai Sieyes
5eb30f0017 Further improve buildmode "RTS" ai mode 2020-02-23 11:54:05 -05:00
Meghan-Rossi
f29ca2f13e Merge branch 'job_description_alt' into job_description_alt_2 2020-02-22 12:14:56 +00:00
Heroman
6d94b7074b Creates a preference for precise item placement 2020-02-22 18:24:09 +10:00
Greenjoe12345
5f4053911c canes and crutches (#6694)
* Edited white cane inventory/ground sprite, and changed in-hand sprites to ones from Yawn Wider
added a telescopic cane, ported from Yawn Wider (credit to gozulio)
ported the crutch item from world server
both new items were added to loadout

* Edited white cane inventory/ground sprite, and changed in-hand sprites to ones from Yawn Wider

added a telescopic cane, ported from Yawn Wider (credit to gozulio)
ported the crutch item from world server
both new items were added to loadout
also fixed config.txt fuckup

* fixed a spelling error
2020-02-19 11:33:28 -08:00
Heroman3003
b2d43465a3 Lowers cost of ponchos and cloaks in loadout (#6705) 2020-02-18 22:23:58 -08:00
Arokha Sieyes
5b15917d32 to_chat replacing stream operator 2020-02-17 13:14:08 -05:00
PrismaticGynoid
f8ffd25caf Adds some toys to the loadout
Adds a few toys, including action figures, to the loadout. Also fixes water flowers being unrefillable.
2020-02-01 20:16:30 -08:00
Atermonera
ea8bf0ad0b Merge pull request #6630 from Novacat/nova-alerts
IP reputation checking
2020-01-21 15:10:27 -08:00
Novacat
53202480bb Update client procs.dm 2020-01-21 01:42:26 -05:00
Verkister
aee06aec3d Fixes loadout index runtime spam (#6626)
sanity checks saving the day once more.
2020-01-15 23:55:45 -08:00
Unknown
645ddf30d1 IP reputation checking
Ported from https://github.com/VOREStation/VOREStation/pull/6451
Code done by Aronai

Adds IP reputation checking to detect Tor, proxy, and VPN usage and block it if so configured.

It's disabled by default, but if enabled the default settings are to block all VPN/Proxy/Tor to connect unless the player has been a player for 5 days on a 'normal' connection so that people who legitimately sometimes use a VPN for *reasons* can continue to do so. You can also have it check reputations and just log bad ones, without disconnecting the users.

Whether or not it allows 'existing' players, the length of time they must have played, what's considered a 'bad' IP score, etc, are configurable. You **must** put an e-mail address if you use this, otherwise the service will likely ban you. This is the e-mail address they will send e-mails to if you're performing too many checks or they need to speak to you. 

Adds config options, here's a paste from the example config:
```
## IP Reputation Checking
# Enable/disable IP reputation checking (present/nonpresent)
#IP_REPUTATION

# Set the e-mail address problems can go to for IPR checks (e-mail address)
IPR_EMAIL whatever@whatever.com

# Above this value, reputation scores are considered 'bad' (number)
IPR_BAD_SCORE 1

# If you want the people disconnected. Otherwise it just logs. (present/nonpresent)
IPR_BLOCK_BAD_IPS

# If players of a certain length of playtime are allowed anyway (REQUIRES DATABASE) (present/nonpresent)
IPR_ALLOW_EXISTING

# And what that age is (number)
IPR_MINIMUM_AGE 5
```

As you can see, it's off by default, so if you're a downstream this won't change anything for you unless you decide to turn it on. If you want the features, just copypaste the new config lines out of the example and uncomment IP_REPUTATION.

Downstreams can replace the /client/proc/update_ip_reputation() proc with your own, if you'd like to substitute your own service! Just set the client's ip_reputation var at the end of your proc.
2020-01-15 14:48:22 -05:00
Shadow
35fdaa2b9f Small change 2020-01-10 16:49:52 -06:00
Shadow
4b2d879091 Adds QM 2019-12-20 23:55:20 -06:00
Schnayy
1581771a72 Adds 10 new clothes + sprite fixes. (#6575) 2019-12-19 21:43:38 -08:00
Mechoid
58e2ce2fb4 Change various global species lists to GLOB versions. 2019-12-05 23:55:22 -08:00
Meghan-Rossi
adfc4dbf70 Fix pAI preferences not loading 2019-11-27 15:33:51 +00:00
Atermonera
5719bea4ca Merge pull request #6503 from Rykka-Stormheart/shep-dev-chat-refactor
Update Chat System to use to_chat(src, "") instead of src << ""
2019-11-05 13:31:35 -09:00
Anewbe
ee6a0e1340 Merge pull request #6500 from KasparoVy/you_tracking_implanted_the_floor
Loadout Implants Properly go in Mob, not on Floor
2019-10-29 20:33:45 -04:00
Rykka Stormheart
23cc197e4c Add Sounds to stuff! (Port from VOREStation) (#6494)
* Add Sounds to stuff! (Port from VOREStation)

* Port of https://github.com/VOREStation/VOREStation/pull/6119

* Adds to_chat as described

* Change << to , , not entirely sure what it does but it's the same as others
2019-10-29 13:30:56 -08:00
Rykka
493b83d5a0 Update Chat System to use to_chat(src, "") instead of src << "" 2019-10-28 15:22:32 -06:00
KasparoVy
a75c92c03f Loadout Implants Properly go in Mob, not on Floor
The main cause is the 'exploitable' check from `code/game/jobs/job_controller.dm` because the proc `amend_exploitable` from `code/modules/mob/mob.dm` spawns a duplicate of the implant at the mob's feet.

Tertiary issues were...
- The `implant_loadout` proc in `code/game/objects/items/weapons/implants/implant.dm` not inserting the implant in the correct location (was passing an organ instead of a zone define like BP_HEAD, which has a string value of "head".)
- There were unnecessary post-spawn behaviours for dud and neural fluff implants.

What now happens:
- The exploitable check now occurs in the `spawn_item` proc from `code/modules/client/preference_setup/loadout/loadout.dm`.
- The loadout implants are now inserted into the correct locations within a mob.
- There won't be implants created on the floor anymore.
2019-10-27 22:43:27 -04:00
Mechoid
e2e870f2b4 Medical Expansion (#6465)
* Starts work on the Medical Expansion.

* Further Work

* Save Everything!

* Large volume of things.

* Log of Change

* I'm an idiot.

* Kidney assisted sprites. They didn't exist, for some reason.

* Fixfix

* Fixfix

* Update encased.dm

* Update glass.dm

* Update Chemistry-Reagents.dm

I am once more an idiot.

* Split augs.

* Fixfix
2019-10-19 19:27:39 -08:00
Woodratt
e6e4302819 Port weight/body types to traits
Port and tweak from World Server of their weight and body type system

Removed the current size trait system for player mobs.
Replaced with the weight and size system from world server.
Mobs with heavier body types will be slower but have a higher metabolism.
Mobs with thinner body types will have a slower metabolism and are more fragile.
Being tall or short has no effect aside from the sprite.

Couple weird quirks (sprites are a lot more fuzzy compared to world server, and lying down sprites can look slightly off) but overhaul seems usable.
2019-10-03 16:06:51 -07:00
GeneriedJenelle
7821e7493d Ports Earrings from Baystation (#6444)
* Ports Earrings from Baystation

Ports earrings from baystation.

* Create earrings.dm

* Update loadout_ears.dm

* Fixes everything

* Actually fixes everything because I forgot polaris.dme lmao

* final fix?

Why did I even do this all at work? And this is a friday not a monday!
2019-09-25 13:07:28 -08:00
Schnayy
a1da64416a Adds new clothing sprites. 2019-07-24 02:11:16 -05:00
Heroman3003
f963c42d2e Fixes href exploit with whitelisted species 2019-05-27 09:13:58 +10:00
Unknown
5dccccb321 Ports character setup subsystem from Bay 2019-05-13 22:27:06 -04:00
Unknown
203585b104 I feel like an idiot now 2019-05-08 17:12:23 -04:00