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

Arcane Spellcasting Pt.2.5 (Spellbooks/Craft/Learn) #56

Closed
wants to merge 63 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2de3f49
+learnable spell var
tioluko Sep 4, 2024
3d70f4d
+get learnable spell list
tioluko Sep 4, 2024
f85a008
+get learnable spells process
tioluko Sep 4, 2024
c8a5f67
spellbooks added
tioluko Sep 4, 2024
e16fd36
added the spellbook crafting system
tioluko Sep 4, 2024
e675618
the dank magic feather!
tioluko Sep 4, 2024
4223ba1
added magic feather crafting formula
tioluko Sep 4, 2024
992ff7a
added a necessary var for spell learning
tioluko Sep 4, 2024
2820d69
just putting the learning var on each of them
tioluko Sep 4, 2024
e3fff8d
Update global_lists.dm
tioluko Sep 5, 2024
0af2220
Merge branch 'russ-money:main' into spellbooks-(craft-and-learn)
tioluko Sep 5, 2024
05a8921
Merge pull request #1 from tioluko/main
tioluko Sep 5, 2024
3c26c9f
shit was busted
tioluko Sep 6, 2024
cee1ee9
Merge branch 'russ-money:main' into spellbooks-craft-and-learn
tioluko Sep 7, 2024
85a2042
Merge branch 'russ-money:main' into spellbooks-craft-and-learn
tioluko Sep 7, 2024
e5aee21
small touches
tioluko Sep 9, 2024
ea486d0
adjust
tioluko Sep 9, 2024
8de134d
nerf
tioluko Sep 9, 2024
820a0a2
Update smokescreen.dm
tioluko Sep 9, 2024
5bf9c10
Create decay.dm
tioluko Sep 9, 2024
6163cd5
Create web.dm
tioluko Sep 9, 2024
f7847c3
Update ignite.dm
tioluko Sep 9, 2024
94db3d9
Update fireball.dm
tioluko Sep 9, 2024
fad2847
Update books.dm
tioluko Sep 9, 2024
05711dd
Update granters.dm
tioluko Sep 9, 2024
4ac9328
Update granters.dm
tioluko Sep 9, 2024
836520d
Update telepathy.dm
tioluko Sep 9, 2024
20c5bed
Update invisibility.dm
tioluko Sep 9, 2024
59a5e72
Update sorceress.dm
tioluko Sep 9, 2024
73b0c4c
Update mage.dm
tioluko Sep 9, 2024
12b3969
Update magician.dm
tioluko Sep 9, 2024
a496687
Update mage_apprentice.dm
tioluko Sep 9, 2024
738da04
Update roguetown.dme
tioluko Sep 10, 2024
f7c8315
Add files via upload
tioluko Sep 10, 2024
3f05d8d
Add files via upload
tioluko Sep 10, 2024
a19b174
Update granters.dm
tioluko Sep 10, 2024
532e2c4
Add files via upload
tioluko Sep 10, 2024
5a17811
Update arcane.dm
tioluko Sep 10, 2024
53269f9
Update magician.dm
tioluko Sep 10, 2024
04d2f3a
Update mage_apprentice.dm
tioluko Sep 10, 2024
1f9d857
Update books.dm
tioluko Sep 10, 2024
c7cbe00
Update global_lists.dm
tioluko Sep 10, 2024
37a1434
Update roguetown.dme
tioluko Sep 10, 2024
28563fd
Update books.dm
tioluko Sep 10, 2024
2c4d32d
WHY WAS THE " 's " BREAKING IT????? wtf byond
tioluko Sep 10, 2024
fee568c
Update jobs.dm
tioluko Sep 10, 2024
e9c9468
Update landmarks.dm
tioluko Sep 10, 2024
8f206b7
Update keyrings.dm
tioluko Sep 10, 2024
56bc22f
WHY WAS THE " 's " BREAKING IT????? wtf byond
tioluko Sep 10, 2024
1910c1a
Update mage_apprentice.dm
tioluko Sep 10, 2024
bdb7720
Update mage_apprentice.dm
tioluko Sep 10, 2024
740ca7c
Update roguebuff.dm
tioluko Sep 13, 2024
b0fb0bb
Add files via upload
tioluko Sep 13, 2024
a55db7d
Add files via upload
tioluko Sep 13, 2024
ec70c7f
Add files via upload
tioluko Sep 13, 2024
5ae90a3
Add files via upload
tioluko Sep 13, 2024
605e607
Add files via upload
tioluko Sep 13, 2024
6fb9a44
Update mage_apprentice.dm
tioluko Sep 13, 2024
a32dbc4
Update magician.dm
tioluko Sep 13, 2024
314cba4
Update roguetown.dme
tioluko Sep 13, 2024
58f54a5
Update magician.dm
tioluko Sep 13, 2024
3db91aa
Update chains.dm
tioluko Sep 13, 2024
03973ff
Update roguetown.dme
tioluko Sep 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update mage_apprentice.dm
tioluko authored Sep 9, 2024
commit a49668707471fa5c5fd1390d8b3cd8feb3043a74
33 changes: 28 additions & 5 deletions code/modules/jobs/job_types/roguetown/youngfolk/mage_apprentice.dm
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
flag = MAGEAPPRENTICE
department_flag = YOUNGFOLK
faction = "Station"
total_positions = 0
total_positions = 1
spawn_positions = 1

allowed_races = list(
@@ -20,7 +20,6 @@

tutorial = "Your master once saw potential in you, something you are uncertain if they still do with your recent studies. The path to using magic is something treacherous and untamed, and you are still decades away from calling yourself even a journeyman in the field. Listen and serve, and someday you will earn your hat."

spells = list(/obj/effect/proc_holder/spell/invoked/projectile/fetch)
outfit = /datum/outfit/job/roguetown/wapprentice

display_order = JDO_MAGEAPPRENTICE
@@ -29,8 +28,13 @@
/datum/outfit/job/roguetown/wapprentice/pre_equip(mob/living/carbon/human/H)
..()
if(H.mind)
H.mind.adjust_skillrank(/datum/skill/misc/swimming, pick(0,1), TRUE)
H.mind.adjust_skillrank(/datum/skill/misc/climbing, pick(0,1), TRUE)
H.mind.adjust_skillrank(/datum/skill/misc/athletics, pick(0,1), TRUE)
H.mind.adjust_skillrank(/datum/skill/magic/arcane, pick(1,2), TRUE)
H.mind.adjust_skillrank(/datum/skill/misc/reading, 2, TRUE)
H.mind.adjust_skillrank(/datum/skill/misc/reading, pick(2,3), TRUE)
H.mind.adjust_skillrank(/datum/skill/misc/sneaking, pick(0,1), TRUE)
H.mind.adjust_skillrank(/datum/skill/misc/stealing, pick(0,1), TRUE)
if(H.gender == MALE)
pants = /obj/item/clothing/under/roguetown/tights/random
shoes = /obj/item/clothing/shoes/roguetown/simpleshoes
@@ -46,7 +50,26 @@
beltr = /obj/item/roguekey/tower
armor = /obj/item/clothing/suit/roguetown/armor/workervest
backr = /obj/item/storage/backpack/rogue/satchel

H.change_stat("intelligence", 1)
H.change_stat("intelligence", round(rand(0,5)))
H.change_stat("speed", -1)
var/list/possible_spells = list(
"/obj/effect/proc_holder/spell/arcane/telepathy",
"/obj/effect/proc_holder/spell/arcane/ignite",
"/obj/effect/proc_holder/spell/arcane/blink",
"/obj/effect/proc_holder/spell/arcane/swap",
"/obj/effect/proc_holder/spell/arcane/smokescreen",
"/obj/effect/proc_holder/spell/arcane/projectile/fireball",
"/obj/effect/proc_holder/spell/arcane/projectile/lightningbolt",
"/obj/effect/proc_holder/spell/arcane/blindness",
"/obj/effect/proc_holder/spell/arcane/invisibility",
"/obj/effect/proc_holder/spell/arcane/projectile/fetch",
"/obj/effect/proc_holder/spell/arcane/mist",
"/obj/effect/proc_holder/spell/arcane/web"
)
for(var/i=2,i>0,i--)
var/random_item = pick(possible_spells)
var typepath = text2path(random_item)
H.mind.AddSpell(new typepath)
possible_spells.Remove(random_item)
possible_spells = null
*/