Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавлена книга в аплинк позволяющая изучать почти все языки расс и не только #13629

Merged
merged 10 commits into from
Nov 26, 2024
8 changes: 8 additions & 0 deletions code/datums/uplinks_items.dm
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,14 @@
cost = 1
uplink_types = list("traitor", "dealer")

/datum/uplink_item/device_tools/syndcodebook/rowena
name = "Rowena Ravenclaw Book"
desc = "This book will help you understand the language of all races, as well as speak them. \
NinjaPikachuska marked this conversation as resolved.
Show resolved Hide resolved
In this guide, you will learn how to use a variety of languages. Usage is limited."
item = /obj/item/weapon/syndcodebook/rowena
cost = 1
uplink_types = list("traitor", "dealer")

/datum/uplink_item/device_tools/singularity_beacon
name = "Singularity Beacon"
desc = "When screwed to wiring attached to an electric grid, then activated, this large device pulls the singularity towards it. \
Expand Down
30 changes: 30 additions & 0 deletions code/game/objects/items/weapons/manuals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -487,3 +487,33 @@
user.add_language(LANGUAGE_SYCODE)
new /obj/effect/decal/cleanable/ash(user.loc)
qdel(src)

/obj/item/weapon/syndcodebook/rowena
name = "black-red book"
desc = "Ominous book with some gabblery written on yellow pages."
icon = 'icons/obj/library.dmi'
icon_state = "syndicate"
item_state_world = "syndicate_world"
item_state = "book"

/obj/item/weapon/syndcodebook/rowena/attack_self(mob/user)

if(do_after(user, 40, target = user))
user.visible_message(
"<span class='warning'>[user] perks at \the [src] and nods. Suddenly, \the [src] burns to ashes!</span>",
"<span class='warning'>As soon as you finish reading \the [src], you become the speaker of many languages and [src] burns to ashes.</span>"
)
user.add_language(LANGUAGE_SOLCOMMON)
user.add_language(LANGUAGE_SINTAUNATHI, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_SIIKMAAS, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_SIIKTAJR, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_SKRELLIAN, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_ROOTSPEAK, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_ROOTSONG, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_TRADEBAND)
user.add_language(LANGUAGE_TRINARY, LANGUAGE_CAN_UNDERSTAND)
user.add_language(LANGUAGE_GUTTER)
user.add_language(LANGUAGE_USL)
user.add_language(LANGUAGE_VOXPIDGIN, LANGUAGE_CAN_UNDERSTAND)
new /obj/effect/decal/cleanable/ash(user.loc)
qdel(src)
Loading