This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| give_skill [2024/02/05 01:40] – created justin | give_skill [2024/02/22 21:05] (current) – justin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ---- | ---- | ||
| (WIP) | (WIP) | ||
| + | |||
| + | Gives the specified [[skill]] to a [[character]]. If the [[character]] isn't specified, the [[skill]] will be given to the main [[player character]]. | ||
| ====Signature: | ====Signature: | ||
| <code python> | <code python> | ||
| - | give_skill() | + | give_skill(skill_id, character) |
| </ | </ | ||
| ^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
| - | | | | | | | + | |skill_id| |[[String]]|Yes| |
| + | |character| |[[Entity]]|No| | ||
| ====Example: | ====Example: | ||
| <code bauxite> | <code bauxite> | ||
| - | give_skill(); | + | |
| </ | </ | ||
| // | // | ||