- Joined
- Aug 1, 2015
- Messages
- 91
- Reaction score
- 5
- First Language
- English
- Primarily Uses
- RMMV
A thought just popped into my head: If I see examples of code from other scripts, and modify the examples to my own use, is that plagiarism?
EXAMPLE: Script A and Script B both need a way to tell how much of an item is in the player's inventory. However, Script A and Script B use this value for different purposes.
SCRIPT A:
blah blah blah
def stone_amount
$game_party.item_number($data_items[23]) (Let's say item 23 in Script A is a stone)
end
SCRIPT B:
blah blah blah
def copper_amount
$game_party.item_number($data_items[16]) (Let's say item 16 in Script B is a chunk of copper ore)
end
EXAMPLE: Script A and Script B both need a way to tell how much of an item is in the player's inventory. However, Script A and Script B use this value for different purposes.
SCRIPT A:
blah blah blah
def stone_amount
$game_party.item_number($data_items[23]) (Let's say item 23 in Script A is a stone)
end
SCRIPT B:
blah blah blah
def copper_amount
$game_party.item_number($data_items[16]) (Let's say item 16 in Script B is a chunk of copper ore)
end
Last edited by a moderator:
