Files
Aurora.3/code/modules/spells/spellbook/student.dm
LordFowl 8d436c4a03 Converts all necessary << outputs into the to_chat() macro. (#6076)
This PR will lead us towards the Promised Day, for in its wake there shall be much celebration and ecstasy as this world becomes a world suitable for developer hegemony. The first strike is thusly;

All << is converted into to_chat().
2019-03-10 23:39:03 +02:00

28 lines
1.0 KiB
Plaintext

/obj/item/weapon/spellbook/student
spellbook_type = /datum/spellbook/student
/obj/item/weapon/spellbook/student/attack_self(mob/living/user as mob)
if(user.is_wizard(TRUE))
to_chat(user, "<span class='warning'>This books is written for students, not for a true wizard like yourself!</span>")
return
..()
/datum/spellbook/student
name = "\improper student's spellbook"
feedback = "ST"
desc = "This spell book has a sticker on it that says, 'certified for children 5 and older'."
book_desc = "This spellbook is dedicated to teaching neophytes in the ways of magic."
title = "Book of Spells and Education"
title_desc = "Buy spells using your available spell slots. Artefacts may also be bought however their cost is permanent."
book_flags = 0
max_uses = 3
spells = list(/spell/aoe_turf/knock = 1,
/spell/targeted/ethereal_jaunt = 1,
/spell/targeted/projectile/magic_missile = 1,
/obj/item/weapon/gun/energy/staff/focus = 1,
/obj/item/weapon/storage/belt/wands/full = 2,
/obj/item/weapon/contract/wizard/xray = 1
)