Eraser: Difference between revisions

From PZwiki
m (Automated class_name fix)
(Codebox, trivia, version)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Miscellaneous items|Household|Stationery}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household|Stationery}}
{{Page version|40.43}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
|name =Eraser
|name =Eraser
Line 14: Line 14:
}}
}}


An '''eraser''' (also known as a '''rubber''') is a stationery [[Items|item]].
An '''eraser''' is a stationery [[Items|item]].


==Usage==
==Usage==
Line 151: Line 151:
|8
|8
|}
|}
==Trivia==
*The eraser is often called a '''rubber''' in British english parts of the world.


==Code==
==Code==
Line 156: Line 159:
| {{CodeSnip
| {{CodeSnip
   | lang = java
   | lang = java
   | line = false
   | line = true
  | start = 411
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 40.43
   | version = 41.78.16
   | code =
   | code =
item Eraser
    item Eraser
{
    {
  Weight     = 0.1,
        DisplayCategory = Household,
  Type       = Normal,
        Weight = 0.1,
  DisplayName = Eraser,
        Type = Normal,
  Icon       = Eraser,
        DisplayName = Eraser,
}
        Icon = Eraser,
        WorldStaticModel = Eraser,
        Tags = Erase,
    }
   }}
   }}
}}
}}

Revision as of 08:22, 19 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Eraser
Eraser Model.png
General
Category
Item
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
Remove markings from an annotated map.
Technical
Item ID
Base.Eraser

An eraser is a stationery item.

Usage

An eraser is used to remove map markings, whether they be from a spawned annotated map, or annotated by a player. To remove a map marking, the map must be opened, then a button on the bottom of the window saying "Remove Marking" will be displayed. Any map marking can be removed regardless of whether they were done with a pen or pencil.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
all locker 4 8
officedrawers 4 8
other 1 8
artstore counter 4 8
shelves 4 1
shelves 4 2
bedroom desk 4 8
desk 4 8
bookstore counter 4 8
classroom counter 4 8
desk 4 8
metal_shelves 4 8
closet crate 4 8
daycare counter 4 8
desk 4 8
metal_shelves 4 8
garagestorage crate 4 8
generalstore shelves 4 8
hall locker 4 8
kitchen counter 4 8
shelves 4 8
livingroom shelves 4 8
shelves 4 8
sidetable 4 8
sidetable 4 8
office counter 4 8
desk 4 8

Trivia

  • The eraser is often called a rubber in British english parts of the world.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Eraser
    {
        DisplayCategory = Household,
        Weight	=	0.1,
        Type	=	Normal,
        DisplayName	=	Eraser,
        Icon	=	Eraser,
        WorldStaticModel = Eraser,
        Tags = Erase,
    }

See also