Eraser: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Remove lines))
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Tools|Stationery|type=Tool|version=Version 40|incver=43}}{{Infobox item
{{Header|Project Zomboid|Items|Miscellaneous items|Household|Stationery}}
|display_name=Eraser
{{Page version|41.78.16}}
|name_colour=Tool
{{Infobox item
|name_text_colour=Tool
|name=Eraser
|model=Eraser_Model.png
|model=Eraser_Model.png
|icon=Eraser.png
|icon=Eraser.png
Line 9: Line 9:
|weight=0.1
|weight=0.1
|function=Remove markings from an [[Map|annotated map]].
|function=Remove markings from an [[Map|annotated map]].
|class_name=Base.Eraser
|item_id=Base.Eraser
}}An '''eraser''' (also known as a '''rubber''') is a stationery [[item]].
}}
An '''eraser''' is a stationery [[Items|item]].


==Usage==
==Usage==
Line 16: Line 17:


==Distribution==
==Distribution==
{| class="wikitable theme-red mw-collapsible" style="text-align:center; width:400px;"
The loot distributions can be found in the table(s) below.
! colspan=4 |  
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|-
!Building
|rowspan="4"|all
!Container
|[[desk]]
!Rolls
|4
!Chance
|8
|-
|-
|Grocery Storage
|[[locker]]
|[[Containers#Bins|Bin]]
|4
|1
|8
|2
|-
|[[officedrawers]]
|4
|8
|-
|-
|rowspan="4" | All
|[[other]]
|[[Containers#Desks|Desk]]
|1
|1
|7
|8
|-
|-
<!-- |All -->
|rowspan="3"|artstore
|[[Containers#Bedroom Storage|Small Table]]
|[[counter]]
|1
|4
|4
|8
|-
|-
<!-- |All -->
|[[shelves]]
|[[Containers#Bins|Bin]]
|4
|1
|1
|-
|[[shelves]]
|4
|2
|2
|-
|-
<!-- |All -->
|rowspan="2"|bedroom
|[[Containers#Cabinets|Filing Cabinet]]
|[[desk]]
|1
|4
|8
|-
|[[desk]]
|4
|8
|-
|bookstore
|[[counter]]
|4
|8
|-
|rowspan="3"|classroom
|[[counter]]
|4
|8
|-
|[[desk]]
|4
|8
|-
|[[metal_shelves]]
|4
|8
|-
|closet
|[[crate]]
|4
|8
|-
|rowspan="3"|daycare
|[[counter]]
|4
|8
|-
|[[desk]]
|4
|8
|-
|[[metal_shelves]]
|4
|8
|-
|garagestorage
|[[crate]]
|4
|8
|-
|generalstore
|[[shelves]]
|4
|8
|-
|hall
|[[locker]]
|4
|8
|-
|rowspan="2"|kitchen
|[[counter]]
|4
|8
|-
|[[shelves]]
|4
|8
|-
|rowspan="4"|livingroom
|[[shelves]]
|4
|8
|-
|[[shelves]]
|4
|8
|-
|[[sidetable]]
|4
|4
|8
|-
|-
|Library
|[[sidetable]]
|[[Containers#Counters|Counter]]
|4
|4
|7
|8
|-
|-
|Motel Room
|rowspan="2"|office
|[[Containers#Bins|Bin]]
|[[counter]]
|1
|4
|2
|8
|-
|-
|Houseware Store
|[[desk]]
|[[Containers#Shelves|Shelves]]
|3
|4
|4
|8
|}
|}
==Trivia==
*The eraser is often called a '''rubber''' in British english parts of the world.


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=40|incver=43}}
| {{CodeSnip
<pre>
  | lang = java
item Eraser
  | line = true
Weight = 0.1,
  | start = 411
Type = Normal,
  | source = newitems.txt
DisplayName = Eraser,
  | retrieved = true
Icon = Eraser,
  | version = 41.78.16
</pre>
  | code =
item Eraser
    {
        DisplayCategory = Household,
        Weight = 0.1,
        Type = Normal,
        DisplayName = Eraser,
        Icon = Eraser,
        WorldStaticModel = Eraser,
        Tags = Erase,
    }
}}
}}


==See also==
==See also==
Line 81: Line 184:
*[[Sheet of Paper]]
*[[Sheet of Paper]]


{{Navbox equipment}}
{{Navbox items|household_equipment}}

Revision as of 06:54, 15 April 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 desk 4 8
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