mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Adds age vet messages to lustwish portals. Bonus: at maintainer request also removes the non-vetted message entirely (#4159)
## About The Pull Request I removed this from the original PR since it was removed elsewhere but since the merge its been re-added, just adding it back here for consistency. At StrangeWeirdKitten's request this PR also removes the non vetted message entirely. This should not be player facing. ## Why It's Good For The Game Consistency pretty much ## Proof Of Testing <details> <summary>Screenshots/Videos</summary>  </details> ## Changelog 🆑 fix: Age vetting message added to lust wish portals. /🆑
This commit is contained in:
@@ -371,6 +371,12 @@
|
||||
if(!(gential_sprite.is_hidden(owner)))
|
||||
. += "<span class='notice'>It has exposed genitals... <a href='byond://?src=[REF(src)];lookup_info=genitals'>\[Look closer...\]</a></span>"
|
||||
break
|
||||
if(!CONFIG_GET(flag/check_vetted))
|
||||
return
|
||||
if(!owner?.client || !SSplayer_ranks.initialized)
|
||||
return
|
||||
if(SSplayer_ranks.is_vetted(owner?.client, admin_bypass = FALSE))
|
||||
. += span_greenannounce("This player has been vetted as 18+ by staff.")
|
||||
|
||||
/obj/lewd_portal_relay/Topic(href, href_list)
|
||||
. = ..()
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
return
|
||||
if(SSplayer_ranks.is_vetted(client, admin_bypass = FALSE))
|
||||
. += span_greenannounce("This player has been vetted as 18+ by staff.")
|
||||
else
|
||||
. += span_velvet("THIS PLAYER IS NOT VETTED! CONTINUE AT YOUR OWN RISK!")
|
||||
|
||||
/mob/living/carbon/human/examine(mob/user)
|
||||
. = ..()
|
||||
@@ -17,5 +15,3 @@
|
||||
return
|
||||
if(SSplayer_ranks.is_vetted(client, admin_bypass = FALSE))
|
||||
. += span_greenannounce("This player has been vetted as 18+ by staff.")
|
||||
else
|
||||
. += span_velvet("THIS PLAYER IS NOT VETTED! CONTINUE AT YOUR OWN RISK!")
|
||||
|
||||
Reference in New Issue
Block a user