Merge pull request #3207 from CHOMPStation2/upstream-merge-11922

[MIRROR] Swaps Yes and No for give popup
This commit is contained in:
Nadyr
2021-12-05 13:40:24 -05:00
committed by GitHub
+4 -3
View File
@@ -15,9 +15,10 @@
to_chat(src, "<span class='warning'>You don't have anything in your hands to give to \the [target].</span>")
return
if(tgui_alert(target,"[src] wants to give you \a [I]. Will you accept it?","Item Offer",list("Yes","No")) == "No") //VOREStation Edit - make yes on the left to be consistent with other dialogs
target.visible_message("<span class='notice'>\The [src] tried to hand \the [I] to \the [target], \
but \the [target] didn't want it.</span>")
usr.visible_message(SPAN_NOTICE("\The [usr] holds out \the [I] to \the [target]."), SPAN_NOTICE("You hold out \the [I] to \the [target], waiting for them to accept it."))
if(tgui_alert(target,"[src] wants to give you \a [I]. Will you accept it?","Item Offer",list("Yes","No")) == "No")
target.visible_message(SPAN_NOTICE("\The [src] tried to hand \the [I] to \the [target], but \the [target] didn't want it."))
return
if(!I) return