mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Add lints for idiomatic balloon alert usage (#72280)
Adds lints for `balloon_alert(span_xxx(...))` (which is always wrong), and balloon alert where the first letter is a capital (which is usually wrong). Fixes everything that failed them. As a reminder, abbreviations like "AI" and "GPS" shouldn't be capitalized in a balloon alert. In cases where this is intentional for flavor (there was one case), you can `UNLINT` like so: Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
This commit is contained in:
@@ -231,7 +231,7 @@
|
||||
if(prob(min(num_sheets_dispensed * 2, 30)))
|
||||
if(crisp_paper in mod.wearer.held_items)
|
||||
mod.wearer.dropItemToGround(crisp_paper, force = TRUE)
|
||||
crisp_paper.balloon_alert(mod.wearer, "PC LOAD LETTER!")
|
||||
crisp_paper.balloon_alert(mod.wearer, UNLINT("PC LOAD LETTER!"))
|
||||
crisp_paper.visible_message(span_warning("[crisp_paper] bursts into flames, it's too crisp!"))
|
||||
crisp_paper.fire_act(1000, 100)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user