From 745edddd69b889b292eef3101e77bce4ceac2c07 Mon Sep 17 00:00:00 2001 From: Joan Concilio Date: Wed, 17 Aug 2022 17:09:33 -0700 Subject: [PATCH 1/4] Update sidebar.js Adding rice to the nothing-planted-on-farm sidebar display --- lib/sidebar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sidebar.js b/lib/sidebar.js index 244f6f9..64fdfa4 100644 --- a/lib/sidebar.js +++ b/lib/sidebar.js @@ -42,6 +42,7 @@ const extraSidebarItems = async state => { {item: "Cotton"}, {item: "Sunflower"}, {item: "Beet"}, + {item: "Rice"}, ] } // Some special cases. From 44a1af8ffc57eda4d79523db9df215efd04bdb8e Mon Sep 17 00:00:00 2001 From: Joan Concilio Date: Wed, 17 Aug 2022 17:24:35 -0700 Subject: [PATCH 2/4] Update farm.py Mapping rice seeds to rice --- py/simulator/farm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/py/simulator/farm.py b/py/simulator/farm.py index 36925ac..70afa77 100644 --- a/py/simulator/farm.py +++ b/py/simulator/farm.py @@ -36,6 +36,7 @@ Item["Cotton Seeds"]: Item["Cotton"], Item["Sunflower Seeds"]: Item["Sunflower"], Item["Beet Seeds"]: Item["Beet"], + Item["Rice Seeds"]: Item["Rice"], } From b5b01e02f076c64a3d727ff9af7645327db90cd1 Mon Sep 17 00:00:00 2001 From: Joan Concilio Date: Wed, 17 Aug 2022 17:33:42 -0700 Subject: [PATCH 3/4] Update items.json Adding Rice and Rice Seeds items --- data/items.json | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/data/items.json b/data/items.json index cb141bf..bc11bab 100644 --- a/data/items.json +++ b/data/items.json @@ -4980,6 +4980,28 @@ "rarity": "Common", "mastery": true }, + { + "name": "Rice", + "id": "630", + "image": "/img/items/rice.png", + "sellPrice": 250000, + "xp": 100000, + "rarity": "Common", + "growthTime": 864000, + "mastery": true + }, + { + "id": "631", + "name": "Rice Seeds", + "image": "/img/items/riceplant.png", + "xp": 100000, + "buyPrice": 200000, + "growthTime": 864000, + "type": "seed", + "possibleDrops": [ + "Rice" + ] + }, { "name": "Ring of Renthisj", "id": "365", @@ -6945,4 +6967,4 @@ "givable": true, "rarity": "Very Rare" } -] \ No newline at end of file +] From 8c5d54017244d0eac346a408a37ae5e210bab05e Mon Sep 17 00:00:00 2001 From: Joan Concilio Date: Wed, 17 Aug 2022 17:46:07 -0700 Subject: [PATCH 4/4] Update item_api.json Add Rice and Rice Seeds items --- data/item_api.json | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/data/item_api.json b/data/item_api.json index e91cb35..f9fccfd 100644 --- a/data/item_api.json +++ b/data/item_api.json @@ -6875,6 +6875,24 @@ "type": "seeds", "xp": 90720 }, + { + "base_yield_minutes": 14400, + "buy_price": 200000, + "can_buy": 1, + "can_sell": 0, + "craftable": 0, + "crafting_level": 1, + "description": "Harvest every 240 hours", + "id": "631", + "img": "/img/items/riceplant.png", + "mailable": 0, + "masterable": 1, + "min_mailable_level": 0, + "name": "Rice Seeds", + "sell_price": 0, + "type": "seeds", + "xp": 100000 + }, { "base_yield_minutes": 0, "buy_price": 0, @@ -6911,6 +6929,24 @@ "type": "crop", "xp": 90720 }, + { + "base_yield_minutes": 14400, + "buy_price": 0, + "can_buy": 0, + "can_sell": 1, + "craftable": 0, + "crafting_level": 1, + "description": "Sell for 250,000 silver each", + "id": "630", + "img": "/img/items/rice.png", + "mailable": 0, + "masterable": 1, + "min_mailable_level": 0, + "name": "Rice", + "sell_price": 250000, + "type": "crop", + "xp": 100000 + }, { "base_yield_minutes": 0, "buy_price": 0, @@ -10547,4 +10583,4 @@ "type": "fish", "xp": 600 } -] \ No newline at end of file +]