PivityGmodStore

Adding & editing printers

Locate this file:

addons/ch_printers/lua/ch_printers/shared/sh_printers.lua

This is where you will see all the existing printers.

You can edit any variable in here to your liking.

Adding new printers

To add a new printer you simply copy/paste one of the existing printers and edit the unique name. For example replace "silver" with "ruby".

Here is an example of a new "ruby" printer:

CH_Printers.Printers[ "ruby" ] = {
PrintName = "Ruby Printer",
PrinterColor = Color( 224, 17, 95, 255 ), -- This is the printer body color
PrinterLEDSkin = 13, -- This is the skin of the LED strip

PrinterPrice = 15000, -- How much does it cost in F4 menu
PrinterMax = 4, -- Maximum a player can buy in F4

PrinterHealth = 200, -- How much health does it have
PrintMoneyInterval = 2, -- How often does it print money (in seconds)
PrintAmount = 20, -- How much is printed every interval

DefaultInkAmount = 250, -- Default amount of ink when spawned
PrinterInkUsage = 1, -- How much ink is used every time it prints money
PrinterInkMax = 1000, -- How much ink does it maximum hold

DefaultPaperAmount = 250, -- Default amount of paper when spawned
PrinterPaperUsage = 1, -- How much paper is used every time it prints money
PrinterPaperMax = 1000, -- How much paper does it maximum hold

AdjustTemperatureInterval = 18, -- How often is the temperature adjusted
DefaultTemperature = 25, -- What is the temperature when spawned
MaxTemperature = 30, -- What is the max temperature before it begins to loose health and overheat

DefaultFans = 0, -- Default fans/cooling when spawned
MaximumFans = 3, -- What is the maximum fans?

DefaultStorage = 20000, -- Default storage for money when spawned
MaxStorage = 60000, -- What is the maximum storage this can have
}

Restart your server and the new entity can be found in Q Menu -> Entities -> Printers by Crap-Head

You can find the color list for the LED skin strips here https://www.gmodstore.com/help/addon/printers/configuration-21/topics/printer-led-strip-color-list

Can't find what you're looking for?

Contact support