7
0
Fork
You've already forked unvanquished-map-scripting
0

add: getMod (modname) for retrieving MoD IDs based on strings #1

Merged
cu-kai merged 1 commit from cu-kai/prelude-modnames into main 2025年04月21日 18:32:56 +02:00

This allows you to do for example,

Entities.damage(1, -1, 500, getMod("MOD_TARGET_LASER"))

instead of searching for the MOD's ID.

This allows you to do for example, ```lua Entities.damage(1, -1, 500, getMod("MOD_TARGET_LASER")) ``` instead of searching for the MOD's ID.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
unvmods/unvanquished-map-scripting!1
Reference in a new issue
unvmods/unvanquished-map-scripting
No description provided.
Delete branch "cu-kai/prelude-modnames"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?