Print n Scrap
Adds 3D Printers and Scrappers from Risk of Rain 2.
About this mod Author’s original text
Adds 3D Printers and Scrappers from Risk of Rain 2.
Online compatible.
Installation Instructions
Follow the instructions listed here.
Join the Return of Modding server for support.
Credits
- casey (@invenot) for printer and scrapper sprite bases.
API
PnS = mods["Klehrik-Print_n_Scrap"].setup()
-- Add a new printer
-- Passing an existing tier will modify its printer
local interactable_card = PnS.new{
tier = ItemTier.COMMON,
cost = 65,
weight = 6,
rarity = 1,
tier_token = "tier.common",
scrap_sprite = Sprite.new("scrapWhite", "~/sprites/scrapWhite.png", 1, 13, 13)
}
-- Get table of printer interactable cards
local interactable_cards = PnS.get_printer_cards()
-- Ban printers from appearing on this stage
PnS.ban_printers(stage)
-- Ban scrappers from appearing on this stage
PnS.ban_scrappers(stage)
-- Ban an item from appearing in a printer
PnS.ban_item(item)
-- Ban an item from being taken by printers and scrappers
PnS.ban_item_taking(item)
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide. If the mod depends on a loader such as ReturnOfModding, install it first as the readme describes.
Install these first, or the mod will not work: